]> err.no Git - linux-2.6/commitdiff
hp100: convert pci_module_init() to pci_register_driver()
authorRichard Knutsson <ricknu-0@student.ltu.se>
Tue, 6 Feb 2007 00:29:48 +0000 (16:29 -0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 7 Feb 2007 00:10:33 +0000 (19:10 -0500)
Convert pci_module_init() to pci_register_driver().

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/hp100.c

index 844c136e9920cc92c98d5abbb60c7a8a7767a14c..7dc5185aa2c09969a8cffab4faf1dd08dbb2c5fc 100644 (file)
@@ -3034,7 +3034,7 @@ static int __init hp100_module_init(void)
                goto out2;
 #endif
 #ifdef CONFIG_PCI
-       err = pci_module_init(&hp100_pci_driver);
+       err = pci_register_driver(&hp100_pci_driver);
        if (err && err != -ENODEV)
                goto out3;
 #endif