brcm47xx: backport upstream patches for Netgear WNR1000 V3
[openwrt/openwrt.git] / target / linux / brcm47xx / patches-4.4 / 400-mtd-bcm47xxpart-get-nvram.patch
index 64184c079d76a474ac4c7e2c7ba46580d8178c80..2b9290ddecfdd235518ae564cc36b4777c0746fe 100644 (file)
@@ -8,7 +8,7 @@
  
        /*
         * Some really old flashes (like AT45DB*) had smaller erasesize-s, but
-@@ -384,12 +385,23 @@ static int bcm47xxpart_parse(struct mtd_
+@@ -398,12 +399,23 @@ static int bcm47xxpart_parse(struct mtd_
                if (buf[0] == NVRAM_HEADER) {
                        bcm47xxpart_add_part(&parts[curr_part++], "nvram",
                                             master->size - blocksize, 0);