]> err.no Git - linux-2.6/commitdiff
net/wan/pc300too.c: pci_module_init to pci_register_driver
authorRichard Knutsson <ricknu-0@student.ltu.se>
Wed, 14 Feb 2007 00:40:21 +0000 (01:40 +0100)
committerJeff Garzik <jeff@garzik.org>
Sat, 17 Feb 2007 20:26:45 +0000 (15:26 -0500)
Convert pci_module_init() to pci_register_driver().

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/wan/pc300too.c

index bc156b51678ac18bf3225d3b817ac773793f689d..aff05dba720ab023983212dba42172ca65b9d53f 100644 (file)
@@ -542,7 +542,7 @@ static int __init pc300_init_module(void)
 
        CLOCK_BASE = use_crystal_clock ? 24576000 : pci_clock_freq;
 
-       return pci_module_init(&pc300_pci_driver);
+       return pci_register_driver(&pc300_pci_driver);
 }