aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/of_mtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/of_mtd.c')
-rw-r--r--drivers/of/of_mtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/of_mtd.c b/drivers/of/of_mtd.c
index e7cad627a5d1..a27ec94877e4 100644
--- a/drivers/of/of_mtd.c
+++ b/drivers/of/of_mtd.c
@@ -32,7 +32,7 @@ static const char *nand_ecc_modes[] = {
32 * The function gets ecc mode string from property 'nand-ecc-mode', 32 * The function gets ecc mode string from property 'nand-ecc-mode',
33 * and return its index in nand_ecc_modes table, or errno in error case. 33 * and return its index in nand_ecc_modes table, or errno in error case.
34 */ 34 */
35const int of_get_nand_ecc_mode(struct device_node *np) 35int of_get_nand_ecc_mode(struct device_node *np)
36{ 36{
37 const char *pm; 37 const char *pm;
38 int err, i; 38 int err, i;