drivers/scsi/sym53c8xx_2/*: convert to pci_register_driver
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).
Signed-off-by Christophe Lucas <[email protected]>
Signed-off-by Domen Puncer <[email protected]>
---
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
@@ -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;
_
Quoted 2 lines · On Sun, Mar 06, 2005 at 11:27:17PM +0100, [email protected] wrote:
convert from
pci_module_inittopci_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