brcm63xx: backport mtd of node changes from upstream
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch
index 75a874d4d26b6812d50f3f25a62de6c9b0025264..ddb070c9883d22c1fb4657e227fd679f1a823995 100644 (file)
@@ -58,7 +58,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  static int m25p80_erase(struct spi_nor *nor, loff_t offset)
  {
        struct m25p *flash = nor->priv;
-@@ -245,6 +269,9 @@ static int m25p_probe(struct spi_device
+@@ -244,6 +268,9 @@ static int m25p_probe(struct spi_device
        else
                flash_name = spi->modalias;