diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-24 18:59:28 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-24 18:59:28 +0000 |
commit | bb1c915f1e2006ea62f7c9136b18e2491c4303e2 (patch) | |
tree | 59846f1613df179154ecb266961e3811b373ccba /target/linux/ar71xx/patches-4.1/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch | |
parent | 18691109df5a590e9914ae73740f145beec847ce (diff) | |
download | master-31e0f0ae-bb1c915f1e2006ea62f7c9136b18e2491c4303e2.tar.gz master-31e0f0ae-bb1c915f1e2006ea62f7c9136b18e2491c4303e2.tar.bz2 master-31e0f0ae-bb1c915f1e2006ea62f7c9136b18e2491c4303e2.zip |
kernel: update m25p80 in 4.1 to the latest version from 4.4-rc1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47624
Diffstat (limited to 'target/linux/ar71xx/patches-4.1/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch')
-rw-r--r-- | target/linux/ar71xx/patches-4.1/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/patches-4.1/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch b/target/linux/ar71xx/patches-4.1/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch index bdfa887a89..6a9132032f 100644 --- a/target/linux/ar71xx/patches-4.1/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch +++ b/target/linux/ar71xx/patches-4.1/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch @@ -1,11 +1,11 @@ --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c -@@ -234,7 +234,9 @@ static int m25p_probe(struct spi_device +@@ -229,7 +229,9 @@ static int m25p_probe(struct spi_device ppdata.of_node = spi->dev.of_node; -- return mtd_device_parse_register(&flash->mtd, NULL, &ppdata, -+ return mtd_device_parse_register(&flash->mtd, +- return mtd_device_parse_register(&nor->mtd, NULL, &ppdata, ++ return mtd_device_parse_register(&nor->mtd, + data ? data->part_probes : NULL, + &ppdata, data ? data->parts : NULL, |