summaryrefslogtreecommitdiffstats
path: root/drivers/zorro
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2017-07-06 11:48:27 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-07-17 10:00:26 +0200
commita9ef5c47d065e3c8a6eb0e5911e95809811e6c6b (patch)
tree84c47369d925df8606fa5afc9aa6a8df3e30be1f /drivers/zorro
parentusb: gadget: udc: USB_RENESAS_USB3 should depend on HAS_DMA (diff)
downloadlinux-a9ef5c47d065e3c8a6eb0e5911e95809811e6c6b.tar.xz
linux-a9ef5c47d065e3c8a6eb0e5911e95809811e6c6b.zip
usb: gadget: udc: USB_SNP_CORE should depend on HAS_DMA
If NO_DMA=y: ERROR: "usb_gadget_map_request" [drivers/usb/gadget/udc/snps_udc_core.ko] undefined! ERROR: "dma_pool_destroy" [drivers/usb/gadget/udc/snps_udc_core.ko] undefined! ERROR: "usb_gadget_unmap_request" [drivers/usb/gadget/udc/snps_udc_core.ko] undefined! ERROR: "dma_pool_free" [drivers/usb/gadget/udc/snps_udc_core.ko] undefined! ERROR: "dma_pool_alloc" [drivers/usb/gadget/udc/snps_udc_core.ko] undefined! ERROR: "dma_pool_create" [drivers/usb/gadget/udc/snps_udc_core.ko] undefined! As USB_SNP_CORE is selected by USB_SNP_UDC_PLAT and USB_AMD5536UDC, these should depend on HAS_DMA, too. For USB_AMD5536UDC, this is already fulfilled through the dependency on USB_PCI (PCI implies HAS_DMA). Add dependencies on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions