--- zzzz-none-000/linux-3.10.107/drivers/mtd/mtdchar.c 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/drivers/mtd/mtdchar.c 2021-11-10 11:53:55.000000000 +0000 @@ -1004,9 +1004,14 @@ } case BLKRRPART: + case MTDREFRESH: { +#if IS_ENABLED(CONFIG_AVM_ENHANCED) + ret = mtd_refresh_partitions(mtd); +#else /* No reread partition feature. Just return ok */ ret = 0; +#endif break; }