diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-07-06 11:48:27 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-07-17 10:00:26 +0200 |
commit | a9ef5c47d065e3c8a6eb0e5911e95809811e6c6b (patch) | |
tree | 84c47369d925df8606fa5afc9aa6a8df3e30be1f /mm | |
parent | usb: gadget: udc: USB_RENESAS_USB3 should depend on HAS_DMA (diff) | |
download | linux-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 'mm')
0 files changed, 0 insertions, 0 deletions