summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/udc/net2280.h
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@collabora.com>2017-03-08 17:19:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-16 10:03:31 +0100
commitfa9ed6f69d7dac9eb1a044f54570d3bcb3335295 (patch)
treefe6c2438720d980bafdd1b62ef6ec22ad964d351 /drivers/usb/gadget/udc/net2280.h
parentusb: host: Remove remaining pci_pool in comments (diff)
downloadlinux-fa9ed6f69d7dac9eb1a044f54570d3bcb3335295.tar.xz
linux-fa9ed6f69d7dac9eb1a044f54570d3bcb3335295.zip
usb: gadget: net2280: 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/net2280.h')
-rw-r--r--drivers/usb/gadget/udc/net2280.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/net2280.h b/drivers/usb/gadget/udc/net2280.h
index 2736a95751c3..1088c3745999 100644
--- a/drivers/usb/gadget/udc/net2280.h
+++ b/drivers/usb/gadget/udc/net2280.h
@@ -187,7 +187,7 @@ struct net2280 {
struct usb338x_ll_chi_regs __iomem *ll_chicken_reg;
struct usb338x_pl_regs __iomem *plregs;
- struct pci_pool *requests;
+ struct dma_pool *requests;
/* statistics...*/
};