aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-08-18 16:20:43 -0400
committerFelipe Balbi <balbi@ti.com>2013-08-27 15:17:01 -0400
commit272b05a9885bfe8575beac0e4fa1a1bc121f17ec (patch)
treeb5210bf9122ec420c61cc51f35859d8060a28a6d
parent4ee4f23bb04ef6602910a0adbb0824094ffb4a7d (diff)
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 e1b64c47d1f7..30e2dd8a1f2c 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -386,7 +386,7 @@ config USB_NET2272
386 386
387config USB_NET2272_DMA 387config USB_NET2272_DMA
388 boolean "Support external DMA controller" 388 boolean "Support external DMA controller"
389 depends on USB_NET2272 389 depends on USB_NET2272 && HAS_DMA
390 help 390 help
391 The NET2272 part can optionally support an external DMA 391 The NET2272 part can optionally support an external DMA
392 controller, but your board has to have support in the 392 controller, but your board has to have support in the