Commit 7e3e8b05 authored by Richard Knutsson's avatar Richard Knutsson Committed by Jeff Garzik

hp100: convert pci_module_init() to pci_register_driver()

Convert pci_module_init() to pci_register_driver().
Signed-off-by: default avatarRichard Knutsson <ricknu-0@student.ltu.se>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 27d2ab54
...@@ -3034,7 +3034,7 @@ static int __init hp100_module_init(void) ...@@ -3034,7 +3034,7 @@ static int __init hp100_module_init(void)
goto out2; goto out2;
#endif #endif
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
err = pci_module_init(&hp100_pci_driver); err = pci_register_driver(&hp100_pci_driver);
if (err && err != -ENODEV) if (err && err != -ENODEV)
goto out3; goto out3;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment