--- zzzz-none-000/linux-4.4.271/drivers/mtd/ofpart.c 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/drivers/mtd/ofpart.c 2023-04-19 10:22:29.000000000 +0000 @@ -25,7 +25,8 @@ return of_get_property(pp, "compatible", NULL); } -static int parse_ofpart_partitions(struct mtd_info *master, +// Nicht mehr static, weil das Teil vom avm/partparse.c mtd_parser_cb benutzt wird. +int parse_ofpart_partitions(struct mtd_info *master, struct mtd_partition **pparts, struct mtd_part_parser_data *data) { @@ -120,7 +121,7 @@ if (of_get_property(pp, "lock", &len)) (*pparts)[i].mask_flags |= MTD_POWERUP_LOCK; - + pr_debug("[%s]: Found partition %d; name=%s\n", __func__, i, partname); // DEBUG AMY i++; }