X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fpcnet32.c;h=5e26fe806e21e347bf5dbac5c32ea27fa04f3ed3;hb=10e299fc6d596f4e8476d24ebba1495a8355baff;hp=d50bcb89dd2898564b6c86a8e516113f59c263ef;hpb=62250b3bb596ffbae17c4b3d865fecd6329ce8b3;p=linux-2.6-omap-h63xx.git diff --git a/drivers/net/pcnet32.c b/drivers/net/pcnet32.c index d50bcb89dd2..5e26fe806e2 100644 --- a/drivers/net/pcnet32.c +++ b/drivers/net/pcnet32.c @@ -2978,7 +2978,7 @@ static int __init pcnet32_init_module(void) tx_start = tx_start_pt; /* find the PCI devices */ - if (!pci_module_init(&pcnet32_driver)) + if (!pci_register_driver(&pcnet32_driver)) pcnet32_have_pci = 1; /* should we find any remaining VLbus devices ? */