summaryrefslogtreecommitdiff
path: root/drivers/block/DAC960.h
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@collabora.com>2018-01-02 20:53:53 +0300
committerBjorn Helgaas <bhelgaas@google.com>2018-01-03 01:09:50 +0300
commit4695a1ad3a05cf073692fd1913386f8a5bd5e471 (patch)
tree3bf52d456569a30ee7c6fc2099ad79c8bf9499f7 /drivers/block/DAC960.h
parentb19ed63cbcdc756acd240a63acee0ae0f4e85e0f (diff)
downloadlinux-4695a1ad3a05cf073692fd1913386f8a5bd5e471.tar.xz
block: DAC960: Replace PCI pool old API
The PCI pool API is deprecated. Replace the PCI pool old API by the appropriate function with the DMA pool API. Tested-by: Peter Senna Tschudin <peter.senna@collabora.com> Signed-off-by: Romain Perier <romain.perier@collabora.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Peter Senna Tschudin <peter.senna@collabora.com>
Diffstat (limited to 'drivers/block/DAC960.h')
-rw-r--r--drivers/block/DAC960.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/DAC960.h b/drivers/block/DAC960.h
index 6a6226a2b932..21aff470d268 100644
--- a/drivers/block/DAC960.h
+++ b/drivers/block/DAC960.h
@@ -2316,7 +2316,7 @@ typedef struct DAC960_Controller
bool SuppressEnclosureMessages;
struct timer_list MonitoringTimer;
struct gendisk *disks[DAC960_MaxLogicalDrives];
- struct pci_pool *ScatterGatherPool;
+ struct dma_pool *ScatterGatherPool;
DAC960_Command_T *FreeCommands;
unsigned char *CombinedStatusBuffer;
unsigned char *CurrentStatusBuffer;
@@ -2429,7 +2429,7 @@ typedef struct DAC960_Controller
bool NeedDeviceSerialNumberInformation;
bool StartLogicalDeviceInformationScan;
bool StartPhysicalDeviceInformationScan;
- struct pci_pool *RequestSensePool;
+ struct dma_pool *RequestSensePool;
dma_addr_t FirstCommandMailboxDMA;
DAC960_V2_CommandMailbox_T *FirstCommandMailbox;