--- zzzz-none-000/linux-3.10.107/include/linux/mtd/partitions.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/linux/mtd/partitions.h 2021-11-10 11:53:56.000000000 +0000 @@ -63,6 +63,9 @@ struct device_node *of_node; }; +#ifdef CONFIG_AVM_ENHANCED +extern int mtd_refresh_partitions(struct mtd_info *); +#endif /* * Functions dealing with the various ways of partitioning the space @@ -85,4 +88,7 @@ int mtd_del_partition(struct mtd_info *master, int partno); uint64_t mtd_get_device_size(const struct mtd_info *mtd); +// AVM/TKL: needed for setting up panic mode +struct mtd_info *get_mtd_part_master(struct mtd_info *mtd); + #endif