From: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx> pci_module_init() convertion in the legacy megaraid driver. Signed-off-by: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/scsi/megaraid.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/scsi/megaraid.c~pci_module_init-convertion-in-the-legacy-megaraid-driver drivers/scsi/megaraid.c --- a/drivers/scsi/megaraid.c~pci_module_init-convertion-in-the-legacy-megaraid-driver +++ a/drivers/scsi/megaraid.c @@ -5077,7 +5077,7 @@ static int __init megaraid_init(void) "megaraid: failed to create megaraid root\n"); } #endif - error = pci_module_init(&megaraid_pci_driver); + error = pci_register_driver(&megaraid_pci_driver); if (error) { #ifdef CONFIG_PROC_FS remove_proc_entry("megaraid", &proc_root); _ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html