[PATCH 2/2] ohci: only enable drivers if ohci is enabled
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Tue Jan 22 09:47:43 EST 2013
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
drivers/usb/host/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 55a1446..4c03a2d 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -10,6 +10,10 @@ config USB_OHCI
bool "OHCI driver"
depends on !MMU
+if USB_OHCI
+
config USB_OHCI_AT91
depends on ARCH_AT91
bool "AT91 OHCI driver"
+
+endif
--
1.7.10.4
More information about the barebox
mailing list