aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-06-11 23:54:16 +0100
committerMark Brown <broonie@linaro.org>2014-06-11 23:55:49 +0100
commit69de7a3c679debd5dcb7fc1dc073f5df56472bb7 (patch)
treea1d9aff777620687547dae415720a34f7fea1bc5
parent54a298132ca1654960241b861f9ee2f2b8b94049 (diff)
usb: ehci: Fix warning in ARMv8 enablementv3.14/topic/arm64-usb
Signed-off-by: Mark Brown <broonie@linaro.org>
-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 d1a48e49c0e8..142ebd8a29c5 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -590,7 +590,7 @@ static int ehci_run (struct usb_hcd *hcd)
*/
hcc_params = ehci_readl(ehci, &ehci->caps->hcc_params);
if (HCC_64BIT_ADDR(hcc_params)) {
-#if CONFIG_ARM64
+#ifdef CONFIG_ARM64
ehci_writel(ehci, ehci->periodic_dma >> 32, &ehci->regs->segment);
/*
* this is deeply broken on almost all architectures