usb: ehci: Fix warning in ARMv8 enablement
authorMark Brown <broonie@linaro.org>
Wed, 11 Jun 2014 22:54:16 +0000 (23:54 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 11 Jun 2014 22:54:16 +0000 (23:54 +0100)
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/usb/host/ehci-hcd.c

index d387791f5ab8c1a3a95b1decc3eeb8667a441c3d..47d201ac225e1d7a27942f5a69c807654ce019f2 100644 (file)
@@ -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