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(-)

diff -puN 
drivers/scsi/sym53c8xx_2/sym_glue.c~pci_register_driver-drivers_scsi_sym53c8xx_2
 drivers/scsi/sym53c8xx_2/sym_glue.c
--- 
kj/drivers/scsi/sym53c8xx_2/sym_glue.c~pci_register_driver-drivers_scsi_sym53c8xx_2
 2005-03-05 16:12:54.000000000 +0100
+++ kj-domen/drivers/scsi/sym53c8xx_2/sym_glue.c        2005-03-05 
16:12:55.000000000 +0100
@@ -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;
_
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to