aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/hp100.c
diff options
context:
space:
mode:
authorRichard Knutsson2007-02-05 16:29:48 -0800
committerJeff Garzik2007-02-06 19:10:33 -0500
commit7e3e8b05a90bcc5799b0d4525f23c80d661d0194 (patch)
tree61af6a11035ac2e8289a831ed25be8582c2737ff /drivers/net/hp100.c
parent27d2ab54bdfaffdbdc1a81100dc53c6479c9db35 (diff)
hp100: convert pci_module_init() to pci_register_driver()
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>
Diffstat (limited to 'drivers/net/hp100.c')
-rw-r--r--drivers/net/hp100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hp100.c b/drivers/net/hp100.c
index 844c136e9920..7dc5185aa2c0 100644
--- a/drivers/net/hp100.c
+++ b/drivers/net/hp100.c
@@ -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