linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] usb: gadget: USB_FUSB300 should depend on HAS_DMA
@ 2013-08-18 20:20 Geert Uytterhoeven
  2013-08-18 20:20 ` [PATCH 2/4] usb: gadget: USB_R8A66597 " Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2013-08-18 20:20 UTC (permalink / raw)
  To: Felipe Balbi, Alexander Shishkin, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Geert Uytterhoeven

If NO_DMA=y:

drivers/built-in.o: In function `fusb300_set_idma':
drivers/usb/gadget/fusb300_udc.c:946: undefined reference to `usb_gadget_map_request'
drivers/usb/gadget/fusb300_udc.c:958: undefined reference to `usb_gadget_unmap_request'

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/usb/gadget/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 8e93683..d2e6f4f 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -188,7 +188,7 @@ config USB_FSL_USB2
 
 config USB_FUSB300
 	tristate "Faraday FUSB300 USB Peripheral Controller"
-	depends on !PHYS_ADDR_T_64BIT
+	depends on !PHYS_ADDR_T_64BIT && HAS_DMA
 	help
 	   Faraday usb device controller FUSB300 driver
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-27 19:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-18 20:20 [PATCH 1/4] usb: gadget: USB_FUSB300 should depend on HAS_DMA Geert Uytterhoeven
2013-08-18 20:20 ` [PATCH 2/4] usb: gadget: USB_R8A66597 " Geert Uytterhoeven
2013-08-18 20:20 ` [PATCH 3/4] usb: gadget: USB_NET2272_DMA " Geert Uytterhoeven
2013-08-18 20:20 ` [PATCH 4/4] usb: chipidea: USB_CHIPIDEA " Geert Uytterhoeven
2013-08-19  1:24   ` Peter Chen
2013-08-27 19:16     ` Felipe Balbi
2013-08-27 19:26       ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).