From: Richard Knutsson Date: Tue, 6 Feb 2007 00:29:48 +0000 (-0800) Subject: hp100: convert pci_module_init() to pci_register_driver() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e3e8b05a90bcc5799b0d4525f23c80d661d0194;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git hp100: convert pci_module_init() to pci_register_driver() Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- 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