summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-11-25 18:02:50 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-26 19:21:09 +0100
commit0f1078d5cc9ce495ca44ed8d79bd6bd856954c5c (patch)
tree772527774c37ed63323de9a3ecaa10eccad2388a
parent3127a942b7603f4b78fab427850a87a79d7b7e82 (diff)
downloadbarebox-0f1078d5cc9ce495ca44ed8d79bd6bd856954c5c.tar.gz
usb: host: only activate Efika MX ULPI workaround if ULPI is selected
Fixes a build failure with disabled ULPI support. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/usb/host/ehci-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index d2e1296..1335616 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -437,7 +437,7 @@ fail:
return -1;
}
-#ifdef CONFIG_MACH_EFIKA_MX_SMARTBOOK
+#if defined(CONFIG_MACH_EFIKA_MX_SMARTBOOK) && defined(CONFIG_USB_ULPI)
#include <usb/ulpi.h>
/*
* Add support for setting CHRGVBUS to workaround a hardware bug on efika mx/sb