diff options
author | Romain Perier <romain.perier@collabora.com> | 2017-03-08 19:19:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-16 12:03:31 +0300 |
commit | b5a6a4e5baeff6a20a5c5e8711d8b08658efacbb (patch) | |
tree | 7b97c5170009e9535f34e5fabf5e7bb76b70145b /drivers/usb/gadget/udc/amd5536udc.h | |
parent | d293408ef303c30388835e3f367e59332e3d4b6b (diff) | |
download | linux-b5a6a4e5baeff6a20a5c5e8711d8b08658efacbb.tar.xz |
usb: gadget: amd5536udc: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/udc/amd5536udc.h')
-rw-r--r-- | drivers/usb/gadget/udc/amd5536udc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/udc/amd5536udc.h b/drivers/usb/gadget/udc/amd5536udc.h index 4638d707f169..85d5aa5bae7b 100644 --- a/drivers/usb/gadget/udc/amd5536udc.h +++ b/drivers/usb/gadget/udc/amd5536udc.h @@ -545,8 +545,8 @@ struct udc { u32 __iomem *txfifo; /* DMA desc pools */ - struct pci_pool *data_requests; - struct pci_pool *stp_requests; + struct dma_pool *data_requests; + struct dma_pool *stp_requests; /* device data */ unsigned long phys_addr; |