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/412-mtd-m25p80-zero-partition-parser-data.patch | |
parent | 18691109df5a590e9914ae73740f145beec847ce (diff) | |
download | upstream-bb1c915f1e2006ea62f7c9136b18e2491c4303e2.tar.gz upstream-bb1c915f1e2006ea62f7c9136b18e2491c4303e2.tar.bz2 upstream-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/412-mtd-m25p80-zero-partition-parser-data.patch')
-rw-r--r-- | target/linux/ar71xx/patches-4.1/412-mtd-m25p80-zero-partition-parser-data.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/patches-4.1/412-mtd-m25p80-zero-partition-parser-data.patch b/target/linux/ar71xx/patches-4.1/412-mtd-m25p80-zero-partition-parser-data.patch index 7cade53cac..175acf630e 100644 --- a/target/linux/ar71xx/patches-4.1/412-mtd-m25p80-zero-partition-parser-data.patch +++ b/target/linux/ar71xx/patches-4.1/412-mtd-m25p80-zero-partition-parser-data.patch @@ -1,10 +1,10 @@ --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c -@@ -232,6 +232,7 @@ static int m25p_probe(struct spi_device +@@ -227,6 +227,7 @@ static int m25p_probe(struct spi_device if (ret) return ret; + memset(&ppdata, '\0', sizeof(ppdata)); ppdata.of_node = spi->dev.of_node; - return mtd_device_parse_register(&flash->mtd, + return mtd_device_parse_register(&nor->mtd, |