* [KJ] [PATCH] replace pci_module_init by pci_register_driver in
@ 2007-01-21 21:42 trem
2007-01-21 21:45 ` trem
0 siblings, 1 reply; 2+ messages in thread
From: trem @ 2007-01-21 21:42 UTC (permalink / raw)
To: kernel-janitors
change pci_module_init by pci_register_driver
Signed-Off-By: trem <tremyfr@yahoo.fr>
---
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
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-21 21:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-21 21:42 [KJ] [PATCH] replace pci_module_init by pci_register_driver in trem
2007-01-21 21:45 ` trem
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.