X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fpatches-4.1%2F0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch;h=25f3fff213999aa3caeb3689b2babf44db65b14f;hb=34e0d3cb5a9fd4b68126240a73114d0a74ab702d;hp=535069c58dbe3bf49cf19acfd13229f5cecb9ce1;hpb=d8a62fdbc28c8b716094cbee18a361ebad035eda;p=oweals%2Fopenwrt.git diff --git a/target/linux/lantiq/patches-4.1/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch b/target/linux/lantiq/patches-4.1/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch index 535069c58d..25f3fff213 100644 --- a/target/linux/lantiq/patches-4.1/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch +++ b/target/linux/lantiq/patches-4.1/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch @@ -38,7 +38,7 @@ Signed-off-by: John Crispin if (data && data->name) nor->mtd.name = data->name; + else if (of_mtd_name) -+ flash->mtd.name = of_mtd_name; ++ nor->mtd.name = of_mtd_name; /* For some (historical?) reason many platforms provide two different * names in flash_platform_data: "name" and "type". Quite often name is