diff options
Diffstat (limited to 'target/linux/mvebu/patches-3.14/009-add_of_mtd_ecc_helpers.patch')
-rw-r--r-- | target/linux/mvebu/patches-3.14/009-add_of_mtd_ecc_helpers.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/mvebu/patches-3.14/009-add_of_mtd_ecc_helpers.patch b/target/linux/mvebu/patches-3.14/009-add_of_mtd_ecc_helpers.patch index d48885f8e3..dd2dc9427d 100644 --- a/target/linux/mvebu/patches-3.14/009-add_of_mtd_ecc_helpers.patch +++ b/target/linux/mvebu/patches-3.14/009-add_of_mtd_ecc_helpers.patch @@ -65,11 +65,10 @@ Signed-off-by: Brian Norris <computersforpeace@gmail.com> int of_get_nand_bus_width(struct device_node *np); bool of_get_nand_on_flash_bbt(struct device_node *np); -@@ -22,6 +24,16 @@ static inline int of_get_nand_ecc_mode(s - { +@@ -23,6 +25,16 @@ static inline int of_get_nand_ecc_mode(s return -ENOSYS; } -+ + +static inline int of_get_nand_ecc_step_size(struct device_node *np) +{ + return -ENOSYS; @@ -79,6 +78,7 @@ Signed-off-by: Brian Norris <computersforpeace@gmail.com> +{ + return -ENOSYS; +} - ++ static inline int of_get_nand_bus_width(struct device_node *np) { + return -ENOSYS; |