diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/of/of_mtd.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/of_mtd.c b/drivers/of/of_mtd.c index e7cad627a5d..a27ec94877e 100644 --- a/drivers/of/of_mtd.c +++ b/drivers/of/of_mtd.c @@ -32,7 +32,7 @@ static const char *nand_ecc_modes[] = {   * The function gets ecc mode string from property 'nand-ecc-mode',   * and return its index in nand_ecc_modes table, or errno in error case.   */ -const int of_get_nand_ecc_mode(struct device_node *np) +int of_get_nand_ecc_mode(struct device_node *np)  {  	const char *pm;  	int err, i;  |