]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: gadget: USB_R8A66597 should depend on HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 18 Aug 2013 20:20:42 +0000 (22:20 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Aug 2013 19:17:00 +0000 (14:17 -0500)
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>
drivers/usb/gadget/Kconfig

index af19b562b6d980c6d6bfe4c9cc690894d894f255..e1b64c47d1f732d47970070c0d166f793b8e8dee 100644 (file)
@@ -244,6 +244,7 @@ config USB_PXA25X_SMALL
 
 config USB_R8A66597
        tristate "Renesas R8A66597 USB Peripheral Controller"
+       depends on HAS_DMA
        help
           R8A66597 is a discrete USB host and peripheral controller chip that
           supports both full and high speed USB 2.0 data transfers.