summaryrefslogtreecommitdiff
path: root/drivers/usb/renesas_usbhs/mod_gadget.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-07-26 12:34:43 (GMT)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2013-07-31 18:27:18 (GMT)
commit008eb957dafea32bac993be5cbeaf4ca0ee8b0aa (patch)
tree76a479ba87854efdc7132be0e697199edd204f0b /drivers/usb/renesas_usbhs/mod_gadget.c
parent481f2d4f89f87a0baa26147f323380e31cfa7c44 (diff)
downloadlinux-fsl-qoriq-008eb957dafea32bac993be5cbeaf4ca0ee8b0aa.tar.xz
usb: xhci: add missing dma-mapping.h includes
A randconfig build hit the following build errors because xhci.c and xhci-mem.c use dma mapping functions but don't include <linux/dma-mapping.h>. Add the missing includes to fix the build errors. drivers/usb/host/xhci.c In function 'xhci_gen_setup': drivers/usb/host/xhci.c +4872 : error: implicit declaration of function 'dma_set_mask' drivers/usb/host/xhci.c +4872 : error: implicit declaration of function 'DMA_BIT_MASK' drivers/usb/host/xhci-mem.c In function 'xhci_free_stream_ctx': drivers/usb/host/xhci-mem.c +435 : error: implicit declaration of function 'dma_free_coherent' drivers/usb/host/xhci-mem.c In function 'xhci_alloc_stream_ctx': drivers/usb/host/xhci-mem.c +463 : error: implicit declaration of function 'dma_alloc_coherent' Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-usb@vger.kernel.org Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/mod_gadget.c')
0 files changed, 0 insertions, 0 deletions