diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-08-18 16:20:42 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-08-27 15:17:00 -0400 |
commit | 4ee4f23bb04ef6602910a0adbb0824094ffb4a7d (patch) | |
tree | f9cf7d9c059ed555b18ef1149fc2697acce9bc77 | |
parent | b2fb945d607ec33cbaf47ac1173fbd03511b4fb4 (diff) |
usb: gadget: USB_R8A66597 should depend on HAS_DMA
If NO_DMA=y:
drivers/built-in.o: In function `sudmac_free_channel':
drivers/usb/gadget/r8a66597-udc.c:676: undefined reference to `usb_gadget_unmap_request'
drivers/built-in.o: In function `sudmac_alloc_channel':
drivers/usb/gadget/r8a66597-udc.c:666: undefined reference to `usb_gadget_map_request'
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/usb/gadget/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index af19b562b6d9..e1b64c47d1f7 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -244,6 +244,7 @@ config USB_PXA25X_SMALL | |||
244 | 244 | ||
245 | config USB_R8A66597 | 245 | config USB_R8A66597 |
246 | tristate "Renesas R8A66597 USB Peripheral Controller" | 246 | tristate "Renesas R8A66597 USB Peripheral Controller" |
247 | depends on HAS_DMA | ||
247 | help | 248 | help |
248 | R8A66597 is a discrete USB host and peripheral controller chip that | 249 | R8A66597 is a discrete USB host and peripheral controller chip that |
249 | supports both full and high speed USB 2.0 data transfers. | 250 | supports both full and high speed USB 2.0 data transfers. |