mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
usb: gadget: udc: USB_GADGET_XILINX should depend on HAS_DMA
If NO_DMA=y: drivers/built-in.o: In function `xudc_done': udc-xilinx.c:(.text+0x54f4d2): undefined reference to `usb_gadget_unmap_request' drivers/built-in.o: In function `xudc_dma_send': udc-xilinx.c:(.text+0x54f9f8): undefined reference to `dma_sync_single_for_cpu' drivers/built-in.o: In function `xudc_read_fifo': udc-xilinx.c:(.text+0x54ff4a): undefined reference to `dma_sync_single_for_cpu' drivers/built-in.o: In function `xudc_ep_queue': udc-xilinx.c:(.text+0x550e7c): undefined reference to `usb_gadget_map_request' Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
This commit is contained in:
parent
b01ff5cb2f
commit
f1113be1bf
1 changed files with 1 additions and 0 deletions
|
|
@ -357,6 +357,7 @@ config USB_EG20T
|
|||
|
||||
config USB_GADGET_XILINX
|
||||
tristate "Xilinx USB Driver"
|
||||
depends on HAS_DMA
|
||||
depends on OF || COMPILE_TEST
|
||||
help
|
||||
USB peripheral controller driver for Xilinx USB2 device.
|
||||
|
|
|
|||
Loading…
Reference in a new issue