From: Lucas Stach <l.stach@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH v2 5/5] usb: host: only activate Efika MX ULPI workaround if ULPI is selected
Date: Tue, 25 Nov 2014 18:02:50 +0100 [thread overview]
Message-ID: <1416934970-24929-5-git-send-email-l.stach@pengutronix.de> (raw)
In-Reply-To: <1416934970-24929-1-git-send-email-l.stach@pengutronix.de>
Fixes a build failure with disabled ULPI support.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
drivers/usb/host/ehci-hcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index d2e129679601..133561659c37 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
--
2.1.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2014-11-25 17:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-25 17:02 [PATCH v2 1/5] arm: imx: pca100: only try to enable USB if USB_ULPI is configured Lucas Stach
2014-11-25 17:02 ` [PATCH v2 2/5] envfs: include errno.h Lucas Stach
2014-11-25 17:02 ` [PATCH v2 3/5] net: ethoc: depend on OPENRISC Lucas Stach
2014-11-25 17:02 ` [PATCH v2 4/5] blspec: depend on, not select flexible bootargs Lucas Stach
2014-11-25 17:02 ` Lucas Stach [this message]
2014-11-26 18:21 ` [PATCH v2 1/5] arm: imx: pca100: only try to enable USB if USB_ULPI is configured Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1416934970-24929-5-git-send-email-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox