Skip to content

Commit

Permalink
usb: gadget: USB_RENESAS_USBHS_UDC should depend on HAS_DMA
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Felipe Balbi committed Sep 2, 2014
1 parent ea2fdf8 commit fa9a582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/udc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fa9a582

Please sign in to comment.