diff options
Diffstat (limited to 'drivers/scsi/vmw_pvscsi.c')
-rw-r--r-- | drivers/scsi/vmw_pvscsi.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/scsi/vmw_pvscsi.c b/drivers/scsi/vmw_pvscsi.c index 20b3a483c2cc..3bfaa66fa0d1 100644 --- a/drivers/scsi/vmw_pvscsi.c +++ b/drivers/scsi/vmw_pvscsi.c | |||
@@ -397,7 +397,7 @@ static void pvscsi_unmap_buffers(const struct pvscsi_adapter *adapter, | |||
397 | SCSI_SENSE_BUFFERSIZE, PCI_DMA_FROMDEVICE); | 397 | SCSI_SENSE_BUFFERSIZE, PCI_DMA_FROMDEVICE); |
398 | } | 398 | } |
399 | 399 | ||
400 | static int __devinit pvscsi_allocate_rings(struct pvscsi_adapter *adapter) | 400 | static int pvscsi_allocate_rings(struct pvscsi_adapter *adapter) |
401 | { | 401 | { |
402 | adapter->rings_state = pci_alloc_consistent(adapter->dev, PAGE_SIZE, | 402 | adapter->rings_state = pci_alloc_consistent(adapter->dev, PAGE_SIZE, |
403 | &adapter->ringStatePA); | 403 | &adapter->ringStatePA); |
@@ -1152,7 +1152,7 @@ static void pvscsi_release_resources(struct pvscsi_adapter *adapter) | |||
1152 | * just use a statically allocated scatter list. | 1152 | * just use a statically allocated scatter list. |
1153 | * | 1153 | * |
1154 | */ | 1154 | */ |
1155 | static int __devinit pvscsi_allocate_sg(struct pvscsi_adapter *adapter) | 1155 | static int pvscsi_allocate_sg(struct pvscsi_adapter *adapter) |
1156 | { | 1156 | { |
1157 | struct pvscsi_ctx *ctx; | 1157 | struct pvscsi_ctx *ctx; |
1158 | int i; | 1158 | int i; |
@@ -1233,8 +1233,7 @@ exit: | |||
1233 | return numPhys; | 1233 | return numPhys; |
1234 | } | 1234 | } |
1235 | 1235 | ||
1236 | static int __devinit pvscsi_probe(struct pci_dev *pdev, | 1236 | static int pvscsi_probe(struct pci_dev *pdev, const struct pci_device_id *id) |
1237 | const struct pci_device_id *id) | ||
1238 | { | 1237 | { |
1239 | struct pvscsi_adapter *adapter; | 1238 | struct pvscsi_adapter *adapter; |
1240 | struct Scsi_Host *host; | 1239 | struct Scsi_Host *host; |
@@ -1454,7 +1453,7 @@ static struct pci_driver pvscsi_pci_driver = { | |||
1454 | .name = "vmw_pvscsi", | 1453 | .name = "vmw_pvscsi", |
1455 | .id_table = pvscsi_pci_tbl, | 1454 | .id_table = pvscsi_pci_tbl, |
1456 | .probe = pvscsi_probe, | 1455 | .probe = pvscsi_probe, |
1457 | .remove = __devexit_p(pvscsi_remove), | 1456 | .remove = pvscsi_remove, |
1458 | .shutdown = pvscsi_shutdown, | 1457 | .shutdown = pvscsi_shutdown, |
1459 | }; | 1458 | }; |
1460 | 1459 | ||