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-Tag: v2.6.21-rc1~92^2~31^2~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e3e8b05a90bcc5799b0d4525f23c80d661d0194;p=linux-2.6 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 844c136e99..7dc5185aa2 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