aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.14/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-02-08 15:09:45 +0000
committerLuka Perkov <luka@openwrt.org>2015-02-08 15:09:45 +0000
commit683da1384bc567d1a29544ca98f56dea4542cb3c (patch)
tree206e0e80e66a93e8eee961cde4eaf207a413a060 /target/linux/lantiq/patches-3.14/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
parent7294b892dcc5e28a5180d6e9bb3fa9bb08e29493 (diff)
downloadupstream-683da1384bc567d1a29544ca98f56dea4542cb3c.tar.gz
upstream-683da1384bc567d1a29544ca98f56dea4542cb3c.tar.bz2
upstream-683da1384bc567d1a29544ca98f56dea4542cb3c.zip
lantiq: fix patches after 3.14.32 bump
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44320
Diffstat (limited to 'target/linux/lantiq/patches-3.14/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch')
-rw-r--r--target/linux/lantiq/patches-3.14/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/lantiq/patches-3.14/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch b/target/linux/lantiq/patches-3.14/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
index 8ebdc99878..4c010f8282 100644
--- a/target/linux/lantiq/patches-3.14/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
+++ b/target/linux/lantiq/patches-3.14/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
@@ -14,7 +14,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
-@@ -1105,6 +1105,10 @@ static int m25p_probe(struct spi_device
+@@ -1105,6 +1105,10 @@ static int m25p_probe(struct spi_device
struct mtd_part_parser_data ppdata;
struct device_node *np = spi->dev.of_node;
int ret;
@@ -25,7 +25,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
/* Platform data helps sort out which chip type we have, as
* well as how this board partitions it. If we don't have
-@@ -1177,6 +1181,8 @@ static int m25p_probe(struct spi_device
+@@ -1177,6 +1181,8 @@ static int m25p_probe(struct spi_device
if (data && data->name)
flash->mtd.name = data->name;