From 098f187e7870684bfaaa53a1fdfc9682cc1e0dae Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 14 Aug 2015 13:06:33 +0000 Subject: kernel: update 4.1 to 4.1.5 Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5 Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46598 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../sunxi/patches-4.1/115-mtd-fetch-randomizer-mode.patch | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'target/linux/sunxi/patches-4.1/115-mtd-fetch-randomizer-mode.patch') diff --git a/target/linux/sunxi/patches-4.1/115-mtd-fetch-randomizer-mode.patch b/target/linux/sunxi/patches-4.1/115-mtd-fetch-randomizer-mode.patch index f4c36ec56c..f5dfba0c1c 100644 --- a/target/linux/sunxi/patches-4.1/115-mtd-fetch-randomizer-mode.patch +++ b/target/linux/sunxi/patches-4.1/115-mtd-fetch-randomizer-mode.patch @@ -12,11 +12,9 @@ Signed-off-by: Hans de Goede include/linux/of_mtd.h | 6 ++++++ 2 files changed, 41 insertions(+) -diff --git a/drivers/of/of_mtd.c b/drivers/of/of_mtd.c -index b7361ed..4e42c26 100644 --- a/drivers/of/of_mtd.c +++ b/drivers/of/of_mtd.c -@@ -84,6 +84,41 @@ int of_get_nand_ecc_strength(struct device_node *np) +@@ -84,6 +84,41 @@ int of_get_nand_ecc_strength(struct devi EXPORT_SYMBOL_GPL(of_get_nand_ecc_strength); /** @@ -58,8 +56,6 @@ index b7361ed..4e42c26 100644 * of_get_nand_bus_width - Get nand bus witdh for given device_node * @np: Pointer to the given device_node * -diff --git a/include/linux/of_mtd.h b/include/linux/of_mtd.h -index e266caa..1059472 100644 --- a/include/linux/of_mtd.h +++ b/include/linux/of_mtd.h @@ -15,6 +15,7 @@ @@ -70,15 +66,15 @@ index e266caa..1059472 100644 int of_get_nand_bus_width(struct device_node *np); bool of_get_nand_on_flash_bbt(struct device_node *np); -@@ -35,6 +36,11 @@ static inline int of_get_nand_ecc_strength(struct device_node *np) +@@ -34,6 +35,11 @@ static inline int of_get_nand_ecc_streng + { return -ENOSYS; } - ++ +static inline int of_get_nand_rnd_mode(struct device_node *np) +{ + return -ENOSYS; +} -+ + static inline int of_get_nand_bus_width(struct device_node *np) { - return -ENOSYS; -- cgit v1.2.3