Skip to contentSkip to conversation

drivers/scsi/sym53c8xx_2/*: convert to pci_register_driver

PATCH In review [email protected] 2 participants 2 messages Mar 6, 2005 – Mar 7, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 9/11 drivers/scsi/sym53c8xx_2/*: convert to pci_register_driver

convert from pci_module_init to pci_register_driver (from:http://kerneljanitors.org/TODO).

---

 kj-domen/drivers/scsi/sym53c8xx_2/sym_glue.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/sym53c8xx_2/sym_glue.c renamed from drivers/scsi/sym53c8xx_2/sym_glue.c~pci_register_driver-drivers_scsi_sym53c8xx_2 +1 -1
diff -puN drivers/scsi/sym53c8xx_2/sym_glue.c~pci_register_driver-drivers_scsi_sym53c8xx_2 drivers/scsi/sym53c8xx_2/sym_glue.c
@@ -2370,7 +2370,7 @@ static int __init sym2_init(void)
 	if (!sym2_transport_template)
 		return -ENODEV;
 
-	error = pci_module_init(&sym2_driver);
+	error = pci_register_driver(&sym2_driver);
 	if (error)
 		spi_release_transport(sym2_transport_template);
 	return error;

_

#1 lore raw
Quoted 2 lines · On Sun, Mar 06, 2005 at 11:27:17PM +0100, [email protected] wrote:

convert from pci_module_init to pci_register_driver (from:http://kerneljanitors.org/TODO).

Already applied to the sym2 driver in my tree, thanks.

Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain