diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-06-20 23:26:13 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-20 23:26:13 +0200 |
commit | 9d81678ab01a06ee718e33c2f2d3913cec684840 (patch) | |
tree | 29a5c4b2374b3f05652b496135257107ecb8765f /target/linux/mediatek/patches-4.4/0073-of-mtd-prepare-helper-reading-NAND-ECC-algo-from-DT.patch | |
parent | 2dc1e11c688a439084692e0b86d20adc0310d42c (diff) | |
download | master-187ad058-9d81678ab01a06ee718e33c2f2d3913cec684840.tar.gz master-187ad058-9d81678ab01a06ee718e33c2f2d3913cec684840.tar.bz2 master-187ad058-9d81678ab01a06ee718e33c2f2d3913cec684840.zip |
kernel: update kernel 4.4 to version 4.4.12
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/mediatek/patches-4.4/0073-of-mtd-prepare-helper-reading-NAND-ECC-algo-from-DT.patch')
-rw-r--r-- | target/linux/mediatek/patches-4.4/0073-of-mtd-prepare-helper-reading-NAND-ECC-algo-from-DT.patch | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/target/linux/mediatek/patches-4.4/0073-of-mtd-prepare-helper-reading-NAND-ECC-algo-from-DT.patch b/target/linux/mediatek/patches-4.4/0073-of-mtd-prepare-helper-reading-NAND-ECC-algo-from-DT.patch index 0c44e6e88c..44ab079cc0 100644 --- a/target/linux/mediatek/patches-4.4/0073-of-mtd-prepare-helper-reading-NAND-ECC-algo-from-DT.patch +++ b/target/linux/mediatek/patches-4.4/0073-of-mtd-prepare-helper-reading-NAND-ECC-algo-from-DT.patch @@ -22,11 +22,9 @@ Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> include/linux/of_mtd.h | 6 ++++++ 2 files changed, 42 insertions(+) -diff --git a/drivers/of/of_mtd.c b/drivers/of/of_mtd.c -index b7361ed..15d056e 100644 --- a/drivers/of/of_mtd.c +++ b/drivers/of/of_mtd.c -@@ -50,6 +50,42 @@ int of_get_nand_ecc_mode(struct device_node *np) +@@ -50,6 +50,42 @@ int of_get_nand_ecc_mode(struct device_n EXPORT_SYMBOL_GPL(of_get_nand_ecc_mode); /** @@ -69,8 +67,6 @@ index b7361ed..15d056e 100644 * of_get_nand_ecc_step_size - Get ECC step size associated to * the required ECC strength (see below). * @np: Pointer to the given device_node -diff --git a/include/linux/of_mtd.h b/include/linux/of_mtd.h -index e266caa..0f6aca5 100644 --- a/include/linux/of_mtd.h +++ b/include/linux/of_mtd.h @@ -13,6 +13,7 @@ @@ -81,18 +77,15 @@ index e266caa..0f6aca5 100644 int of_get_nand_ecc_step_size(struct device_node *np); int of_get_nand_ecc_strength(struct device_node *np); int of_get_nand_bus_width(struct device_node *np); -@@ -25,6 +26,11 @@ static inline int of_get_nand_ecc_mode(struct device_node *np) +@@ -24,6 +25,11 @@ static inline int of_get_nand_ecc_mode(s + { return -ENOSYS; } - ++ +static inline int of_get_nand_ecc_algo(struct device_node *np) +{ + return -ENOSYS; +} -+ + static inline int of_get_nand_ecc_step_size(struct device_node *np) { - return -ENOSYS; --- -1.7.10.4 - |