diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-08-29 23:31:40 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-09-02 18:16:45 +0400 |
commit | fa9a582da9e78c8498654d5c9c221ec3690944c1 (patch) | |
tree | 2a9bb1d20c3ac3041d78ea7653733613849012bb /drivers/usb/gadget/udc/Kconfig | |
parent | ea2fdf842365066c82ab941086c6a1741ced4f2a (diff) | |
download | linux-fa9a582da9e78c8498654d5c9c221ec3690944c1.tar.xz |
usb: gadget: USB_RENESAS_USBHS_UDC should depend on HAS_DMA
If NO_DMA=y:
drivers/built-in.o: In function `usbhsg_dma_map_ctrl':
mod_gadget.c:(.text+0x53b226): undefined reference to `usb_gadget_map_request'
mod_gadget.c:(.text+0x53b242): undefined reference to `usb_gadget_unmap_request'
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/udc/Kconfig')
-rw-r--r-- | drivers/usb/gadget/udc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig index 5151f947a4f5..00171d436cf8 100644 --- a/drivers/usb/gadget/udc/Kconfig +++ b/drivers/usb/gadget/udc/Kconfig @@ -163,7 +163,7 @@ config USB_R8A66597 config USB_RENESAS_USBHS_UDC tristate 'Renesas USBHS controller' - depends on USB_RENESAS_USBHS + depends on USB_RENESAS_USBHS && HAS_DMA help Renesas USBHS is a discrete USB host and peripheral controller chip that supports both full and high speed USB 2.0 data transfers. |