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:54:16 +0100
commit3b5230b0de0897c971832147b20102ab242a14a5 (patch)
tree81ffdfe6e5ce1e34745580b2eac5e3c3444b289f
parentf5b36de8d872e8abab045b0c1c808976d24e3764 (diff)
downloadlinux-linaro-stable-v3.10/topic/arm64-usb.tar.gz
usb: ehci: Fix warning in ARMv8 enablementv3.10/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 d387791f5ab8..47d201ac225e 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -591,7 +591,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