From e8885cb68dbdaa0a292bf1defc98addd0aed9b04 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Mon, 18 Jul 2011 22:05:12 +0200 Subject: ARM: orion5x: fixup 5181 MPP mask check During the refactoring of the Orion MPP code, the detection for the 5181l as been used to select the 5181 MPP mask, which is wrong. Select the 5181 mask for all 5181 variants. Signed-off-by: Imre Kaloz Signed-off-by: Nicolas Pitre --- arch/arm/mach-orion5x/mpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/mach-orion5x') diff --git a/arch/arm/mach-orion5x/mpp.c b/arch/arm/mach-orion5x/mpp.c index f12c41b98d4..b6ddd7a5db6 100644 --- a/arch/arm/mach-orion5x/mpp.c +++ b/arch/arm/mach-orion5x/mpp.c @@ -24,7 +24,7 @@ static unsigned int __init orion5x_variant(void) orion5x_pcie_id(&dev, &rev); - if (dev == MV88F5181_DEV_ID && rev >= MV88F5181L_REV_A0) + if (dev == MV88F5181_DEV_ID) return MPP_F5181_MASK; if (dev == MV88F5182_DEV_ID) -- cgit v1.2.3-70-g09d2