diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-07-06 12:48:27 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-07-17 11:00:26 +0300 |
commit | a9ef5c47d065e3c8a6eb0e5911e95809811e6c6b (patch) | |
tree | 84c47369d925df8606fa5afc9aa6a8df3e30be1f /tools/perf/scripts/python/syscall-counts.py | |
parent | f84a31eb982950e3b999022b742424e080ff72e8 (diff) | |
download | linux-a9ef5c47d065e3c8a6eb0e5911e95809811e6c6b.tar.xz |
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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions