From: Mark Brown Date: Wed, 11 Jun 2014 22:54:16 +0000 (+0100) Subject: usb: ehci: Fix warning in ARMv8 enablement X-Git-Tag: firefly_0821_release~3680^2~104^2~2^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3b5230b0de0897c971832147b20102ab242a14a5;p=firefly-linux-kernel-4.4.55.git usb: ehci: Fix warning in ARMv8 enablement Signed-off-by: Mark Brown --- 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