diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2007-02-05 16:29:48 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-06 19:10:33 -0500 |
commit | 7e3e8b05a90bcc5799b0d4525f23c80d661d0194 (patch) | |
tree | 61af6a11035ac2e8289a831ed25be8582c2737ff /drivers/net | |
parent | 27d2ab54bdfaffdbdc1a81100dc53c6479c9db35 (diff) | |
download | op-kernel-dev-7e3e8b05a90bcc5799b0d4525f23c80d661d0194.zip op-kernel-dev-7e3e8b05a90bcc5799b0d4525f23c80d661d0194.tar.gz |
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')
-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 844c136..7dc5185 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 |