mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
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 <romain.perier@collabora.com> Acked-by: Peter Senna Tschudin <peter.senna@collabora.com> Tested-by: Peter Senna Tschudin <peter.senna@collabora.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
4dbd6712c6
commit
a7ec87a9a0
2 changed files with 6 additions and 6 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue