summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/udc/amd5536udc.h
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@collabora.com>2017-03-08 19:19:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-16 12:03:31 +0300
commitb5a6a4e5baeff6a20a5c5e8711d8b08658efacbb (patch)
tree7b97c5170009e9535f34e5fabf5e7bb76b70145b /drivers/usb/gadget/udc/amd5536udc.h
parentd293408ef303c30388835e3f367e59332e3d4b6b (diff)
downloadlinux-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.h4
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;