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 <kaloz@openwrt.org>
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
This commit is contained in:
Imre Kaloz 2011-07-18 22:05:12 +02:00 committed by Nicolas Pitre
parent bcacff291c
commit e8885cb68d

View File

@ -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)