aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-06-11 23:54:16 +0100
committerShow Liu <show.liu@linaro.org>2014-06-18 12:05:33 +0800
commite0f7c36a37fc1f51b92702e21aaa6c3f568a18f1 (patch)
tree2133ed774ecaa733144c1a627033ed075ccff7f3
parentf7b7c0a1ec755e8c254019a2f03c80fbc98ea25a (diff)
usb: ehci: Fix warning in ARMv8 enablement
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 d1a48e49c0e..142ebd8a29c 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