diff options
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_mbox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index c8923108183a..24e32e446e76 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c | |||
@@ -300,7 +300,7 @@ static struct pci_device_id pci_id_table_g[] = { | |||
300 | MODULE_DEVICE_TABLE(pci, pci_id_table_g); | 300 | MODULE_DEVICE_TABLE(pci, pci_id_table_g); |
301 | 301 | ||
302 | 302 | ||
303 | static struct pci_driver megaraid_pci_driver_g = { | 303 | static struct pci_driver megaraid_pci_driver = { |
304 | .name = "megaraid", | 304 | .name = "megaraid", |
305 | .id_table = pci_id_table_g, | 305 | .id_table = pci_id_table_g, |
306 | .probe = megaraid_probe_one, | 306 | .probe = megaraid_probe_one, |
@@ -394,7 +394,7 @@ megaraid_init(void) | |||
394 | 394 | ||
395 | 395 | ||
396 | // register as a PCI hot-plug driver module | 396 | // register as a PCI hot-plug driver module |
397 | rval = pci_register_driver(&megaraid_pci_driver_g); | 397 | rval = pci_register_driver(&megaraid_pci_driver); |
398 | if (rval < 0) { | 398 | if (rval < 0) { |
399 | con_log(CL_ANN, (KERN_WARNING | 399 | con_log(CL_ANN, (KERN_WARNING |
400 | "megaraid: could not register hotplug support.\n")); | 400 | "megaraid: could not register hotplug support.\n")); |
@@ -415,7 +415,7 @@ megaraid_exit(void) | |||
415 | con_log(CL_DLEVEL1, (KERN_NOTICE "megaraid: unloading framework\n")); | 415 | con_log(CL_DLEVEL1, (KERN_NOTICE "megaraid: unloading framework\n")); |
416 | 416 | ||
417 | // unregister as PCI hotplug driver | 417 | // unregister as PCI hotplug driver |
418 | pci_unregister_driver(&megaraid_pci_driver_g); | 418 | pci_unregister_driver(&megaraid_pci_driver); |
419 | 419 | ||
420 | return; | 420 | return; |
421 | } | 421 | } |