--- zzzz-none-000/linux-2.6.32.60/drivers/mtd/mtdchar.c 2012-10-07 21:41:24.000000000 +0000 +++ ur8-7270-606/linux-2.6.32.60/drivers/mtd/mtdchar.c 2013-02-12 11:14:43.000000000 +0000 @@ -18,6 +18,7 @@ #include #include +#include #include @@ -815,6 +816,13 @@ file->f_pos = 0; break; } +#ifdef CONFIG_MTD_PARTITIONS + case MTDREFRESH: + { + ret = refresh_mtd_partitions(mtd); + break; + } +#endif default: ret = -ENOTTY;