aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-08-18 22:20:43 +0200
committerFelipe Balbi <balbi@ti.com>2013-08-27 14:17:01 -0500
commit272b05a9885bfe8575beac0e4fa1a1bc121f17ec (patch)
treeb5210bf9122ec420c61cc51f35859d8060a28a6d
parent4ee4f23bb04ef6602910a0adbb0824094ffb4a7d (diff)
downloadkernel_goldelico_gta04-272b05a9885bfe8575beac0e4fa1a1bc121f17ec.zip
kernel_goldelico_gta04-272b05a9885bfe8575beac0e4fa1a1bc121f17ec.tar.gz
kernel_goldelico_gta04-272b05a9885bfe8575beac0e4fa1a1bc121f17ec.tar.bz2
usb: gadget: USB_NET2272_DMA should depend on HAS_DMA
If NO_DMA=y: drivers/built-in.o: In function `net2272_done': drivers/usb/gadget/net2272.c:386: undefined reference to `usb_gadget_unmap_request' drivers/built-in.o: In function `net2272_queue': drivers/usb/gadget/net2272.c:848: 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/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index e1b64c4..30e2dd8 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -386,7 +386,7 @@ config USB_NET2272
config USB_NET2272_DMA
boolean "Support external DMA controller"
- depends on USB_NET2272
+ depends on USB_NET2272 && HAS_DMA
help
The NET2272 part can optionally support an external DMA
controller, but your board has to have support in the