USB: ehci-fsl: Update ifdef check to work on 64-bit ppc
authorKumar Gala <galak@kernel.crashing.org>
Tue, 10 Jul 2012 11:58:48 +0000 (06:58 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 00:11:12 +0000 (17:11 -0700)
We need to use CONFIG_FSL_SOC_BOOKE instead of CONFIG_PPC_85xx as
CONFIG_PPC_85xx isn't defined when we build support for 64-bit embedded
FSL PPC SoCs.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-fsl.c

index ab52db684b63369f00aeab80d7c4fb380591b3a2..b7451b29c5acbae4d0895035a04a6c2aa67e803d 100644 (file)
@@ -313,7 +313,7 @@ static void ehci_fsl_usb_setup(struct ehci_hcd *ehci)
        }
 
        if (pdata->have_sysif_regs) {
-#ifdef CONFIG_PPC_85xx
+#ifdef CONFIG_FSL_SOC_BOOKE
                out_be32(non_ehci + FSL_SOC_USB_PRICTRL, 0x00000008);
                out_be32(non_ehci + FSL_SOC_USB_AGECNTTHRSH, 0x00000080);
 #else