brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)
[openwrt.git] / target / linux / brcm47xx / patches-3.18 / 980-wnr834b_no_cardbus_invariant.patch
index 8bab5f0..86c00c9 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm47xx/setup.c
 +++ b/arch/mips/bcm47xx/setup.c
-@@ -136,6 +136,10 @@ static int bcm47xx_get_invariants(struct
+@@ -119,6 +119,10 @@ static int bcm47xx_get_invariants(struct
        if (bcm47xx_nvram_getenv("cardbus", buf, sizeof(buf)) >= 0)
                iv->has_cardbus_slot = !!simple_strtoul(buf, NULL, 10);