diff options
| author | Romain Perier <[email protected]> | 2017-07-06 08:13:09 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-08-07 18:04:01 +0000 |
| commit | a7ec87a9a01a70e545ed3681a3a2a96680b5fe6f (patch) | |
| tree | b7b708f6a53824ba1983dcf824728af3cd75374a /drivers/scsi/pmcraid.h | |
| parent | scsi: mvsas: Replace PCI pool old API (diff) | |
| download | kernel-a7ec87a9a01a70e545ed3681a3a2a96680b5fe6f.tar.gz kernel-a7ec87a9a01a70e545ed3681a3a2a96680b5fe6f.zip | |
scsi: pmcraid: 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.
Signed-off-by: Romain Perier <[email protected]>
Acked-by: Peter Senna Tschudin <[email protected]>
Tested-by: Peter Senna Tschudin <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/pmcraid.h')
| -rw-r--r-- | drivers/scsi/pmcraid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pmcraid.h b/drivers/scsi/pmcraid.h index 01eb2bc16dc1..8bfac72a242b 100644 --- a/drivers/scsi/pmcraid.h +++ b/drivers/scsi/pmcraid.h @@ -755,7 +755,7 @@ struct pmcraid_instance { /* structures related to command blocks */ struct kmem_cache *cmd_cachep; /* cache for cmd blocks */ - struct pci_pool *control_pool; /* pool for control blocks */ + struct dma_pool *control_pool; /* pool for control blocks */ char cmd_pool_name[64]; /* name of cmd cache */ char ctl_pool_name[64]; /* name of control cache */ |
