All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATH] replace pci_module_init by pci_register_driver in
@ 2007-01-20 20:40 trem
  2007-01-20 20:56 ` Robert P. J. Day
  0 siblings, 1 reply; 2+ messages in thread
From: trem @ 2007-01-20 20:40 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 137 bytes --]

From: trem <tremyfr@yahoo.fr>

This patch simply change pci_module_init by pci_register_driver.

Signed-Off-By: trem <tremyfr@yahoo.fr>


[-- Attachment #2: geode-aes_replace_pci_module_init_by_pci_register_driver.patch --]
[-- Type: text/x-patch, Size: 394 bytes --]

diff --git a/drivers/crypto/geode-aes.c b/drivers/crypto/geode-aes.c
index 43a6839..31ea405 100644
--- a/drivers/crypto/geode-aes.c
+++ b/drivers/crypto/geode-aes.c
@@ -457,7 +457,7 @@ static struct pci_driver geode_aes_driver = {
 static int __init
 geode_aes_init(void)
 {
-	return pci_module_init(&geode_aes_driver);
+	return pci_register_driver(&geode_aes_driver);
 }
 
 static void __exit

[-- Attachment #3: Type: text/plain, Size: 168 bytes --]

_______________________________________________
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-20 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-20 20:40 [KJ] [PATH] replace pci_module_init by pci_register_driver in trem
2007-01-20 20:56 ` Robert P. J. Day

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.