[PATCH 4/4] usb: host: xhci: depend on HAS_DMA

Lucas Stach l.stach at pengutronix.de
Wed Mar 25 13:57:42 PDT 2015


The driver needs the dma coherent function and thus can
only work on architectures implementing them.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 drivers/usb/host/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 12a090c5cc7c..54eaf468b7a0 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -26,6 +26,7 @@ endif
 
 config USB_XHCI
 	bool "xHCI driver"
+	depends on HAS_DMA
 	help
 	  The eXtensible Host Controller Interface (xHCI) is standard for
 	  USB 3.0 "SuperSpeed" host controller hardware. xHCI specification
@@ -37,6 +38,7 @@ config USB_XHCI
 
 config USB_XHCI_PCI
 	depends on PCI
+	depends on HAS_DMA
 	select USB_XHCI
 	bool "PCI xHCI driver"
 	help
-- 
2.1.4




More information about the barebox mailing list