diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2007-02-05 19:29:48 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-06 19:10:33 -0500 |
commit | 7e3e8b05a90bcc5799b0d4525f23c80d661d0194 (patch) | |
tree | 61af6a11035ac2e8289a831ed25be8582c2737ff /drivers/net/hp100.c | |
parent | 27d2ab54bdfaffdbdc1a81100dc53c6479c9db35 (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.c | 2 |
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) | |||
3034 | goto out2; | 3034 | goto out2; |
3035 | #endif | 3035 | #endif |
3036 | #ifdef CONFIG_PCI | 3036 | #ifdef CONFIG_PCI |
3037 | err = pci_module_init(&hp100_pci_driver); | 3037 | err = pci_register_driver(&hp100_pci_driver); |
3038 | if (err && err != -ENODEV) | 3038 | if (err && err != -ENODEV) |
3039 | goto out3; | 3039 | goto out3; |
3040 | #endif | 3040 | #endif |