summaryrefslogtreecommitdiffstats
path: root/include/linux/of_mtd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/of_mtd.h')
-rw-r--r--include/linux/of_mtd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/of_mtd.h b/include/linux/of_mtd.h
index bae1b6094c6..ed7f267e638 100644
--- a/include/linux/of_mtd.h
+++ b/include/linux/of_mtd.h
@@ -11,7 +11,7 @@
#ifdef CONFIG_OF_MTD
#include <linux/of.h>
-extern const int of_get_nand_ecc_mode(struct device_node *np);
+int of_get_nand_ecc_mode(struct device_node *np);
int of_get_nand_bus_width(struct device_node *np);
bool of_get_nand_on_flash_bbt(struct device_node *np);
#endif