Skip to contentSkip to conversation

replace pci_module_init by pci_register_driver in

KJ trem 2 participants 2 messages Jan 20, 2007

Subsystems (3)
lore
Share & tools
lore

trem

author
#0 lore raw

From: trem <[email protected]>

This patch simply change pci_module_init by pci_register_driver.

drivers/crypto/geode-aes.c +1 -1
index 43a6839..31ea405 100644
@@ -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

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw
Quoted 1 line · trem

From: trem <[email protected]>

if you're emailing from that email address and signing off from that same address, there's no need to have a "From:" line.

Quoted 1 line

This patch simply change pci_module_init by pci_register_driver.

don't bother starting your description with "this patch". that's redundant. just describe what the patch does.

Quoted 1 line

and you should include the patch inline in your email, not as an attachment.

rday
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors