summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/csiostor/csio_hw.h
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@collabora.com>2017-07-06 10:13:04 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-07 14:04:01 -0400
commitdecab9a6fb8d215f562a0412e0fc6b6f813dd54b (patch)
tree684158f8b259b113bb1cba1b925531971b43286f /drivers/scsi/csiostor/csio_hw.h
parentaf007b022bfd0c73e7f93f66c58533cd9c2f2edd (diff)
downloadlinux-stable-decab9a6fb8d215f562a0412e0fc6b6f813dd54b.tar.gz
linux-stable-decab9a6fb8d215f562a0412e0fc6b6f813dd54b.tar.bz2
linux-stable-decab9a6fb8d215f562a0412e0fc6b6f813dd54b.zip
scsi: csiostor: Replace PCI pool old API
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. It also updates the name of some variables and the content of comments, accordingly. Signed-off-by: Romain Perier <romain.perier@collabora.com> Reviewed-by: Peter Senna Tschudin <peter.senna@collabora.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/csiostor/csio_hw.h')
-rw-r--r--drivers/scsi/csiostor/csio_hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/csiostor/csio_hw.h b/drivers/scsi/csiostor/csio_hw.h
index 9acb89538e29..667046419b19 100644
--- a/drivers/scsi/csiostor/csio_hw.h
+++ b/drivers/scsi/csiostor/csio_hw.h
@@ -465,7 +465,7 @@ struct csio_hw {
struct csio_pport pport[CSIO_MAX_PPORTS]; /* Ports (XGMACs) */
struct csio_hw_params params; /* Hw parameters */
- struct pci_pool *scsi_pci_pool; /* PCI pool for SCSI */
+ struct dma_pool *scsi_dma_pool; /* DMA pool for SCSI */
mempool_t *mb_mempool; /* Mailbox memory pool*/
mempool_t *rnode_mempool; /* rnode memory pool */