aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r--drivers/scsi/megaraid/megaraid_mbox.c6
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_base.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c
index 54b1c5bb310f..e6a1e0b38a19 100644
--- a/drivers/scsi/megaraid/megaraid_mbox.c
+++ b/drivers/scsi/megaraid/megaraid_mbox.c
@@ -305,7 +305,7 @@ static struct pci_driver megaraid_pci_driver = {
305 .name = "megaraid", 305 .name = "megaraid",
306 .id_table = pci_id_table_g, 306 .id_table = pci_id_table_g,
307 .probe = megaraid_probe_one, 307 .probe = megaraid_probe_one,
308 .remove = __devexit_p(megaraid_detach_one), 308 .remove = megaraid_detach_one,
309 .shutdown = megaraid_mbox_shutdown, 309 .shutdown = megaraid_mbox_shutdown,
310}; 310};
311 311
@@ -434,7 +434,7 @@ megaraid_exit(void)
434 * This routine should be called whenever a new adapter is detected by the 434 * This routine should be called whenever a new adapter is detected by the
435 * PCI hotplug susbsystem. 435 * PCI hotplug susbsystem.
436 */ 436 */
437static int __devinit 437static int
438megaraid_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) 438megaraid_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
439{ 439{
440 adapter_t *adapter; 440 adapter_t *adapter;
@@ -735,7 +735,7 @@ megaraid_io_detach(adapter_t *adapter)
735 * - Allocate memory required for all the commands 735 * - Allocate memory required for all the commands
736 * - Use internal library of FW routines, build up complete soft state 736 * - Use internal library of FW routines, build up complete soft state
737 */ 737 */
738static int __devinit 738static int
739megaraid_init_mbox(adapter_t *adapter) 739megaraid_init_mbox(adapter_t *adapter)
740{ 740{
741 struct pci_dev *pdev; 741 struct pci_dev *pdev;
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index e4f2baacf1e1..66a0fec0437b 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -3972,8 +3972,8 @@ fail_set_dma_mask:
3972 * @pdev: PCI device structure 3972 * @pdev: PCI device structure
3973 * @id: PCI ids of supported hotplugged adapter 3973 * @id: PCI ids of supported hotplugged adapter
3974 */ 3974 */
3975static int __devinit 3975static int megasas_probe_one(struct pci_dev *pdev,
3976megasas_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) 3976 const struct pci_device_id *id)
3977{ 3977{
3978 int rval, pos, i, j; 3978 int rval, pos, i, j;
3979 struct Scsi_Host *host; 3979 struct Scsi_Host *host;
@@ -4525,7 +4525,7 @@ fail_ready_state:
4525 * megasas_detach_one - PCI hot"un"plug entry point 4525 * megasas_detach_one - PCI hot"un"plug entry point
4526 * @pdev: PCI device structure 4526 * @pdev: PCI device structure
4527 */ 4527 */
4528static void __devexit megasas_detach_one(struct pci_dev *pdev) 4528static void megasas_detach_one(struct pci_dev *pdev)
4529{ 4529{
4530 int i; 4530 int i;
4531 struct Scsi_Host *host; 4531 struct Scsi_Host *host;
@@ -5119,7 +5119,7 @@ static struct pci_driver megasas_pci_driver = {
5119 .name = "megaraid_sas", 5119 .name = "megaraid_sas",
5120 .id_table = megasas_pci_table, 5120 .id_table = megasas_pci_table,
5121 .probe = megasas_probe_one, 5121 .probe = megasas_probe_one,
5122 .remove = __devexit_p(megasas_detach_one), 5122 .remove = megasas_detach_one,
5123 .suspend = megasas_suspend, 5123 .suspend = megasas_suspend,
5124 .resume = megasas_resume, 5124 .resume = megasas_resume,
5125 .shutdown = megasas_shutdown, 5125 .shutdown = megasas_shutdown,