Author: hauke
Date: 2015-11-24 21:12:21 +0100 (Tue, 24 Nov 2015)
New Revision: 47628

Modified:
   
trunk/target/linux/lantiq/patches-4.1/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
Log:
lantiq: fix compile error

This fixes a problem introduced in r47624.

Signed-off-by: Hauke Mehrtens <[email protected]>


Modified: 
trunk/target/linux/lantiq/patches-4.1/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
===================================================================
--- 
trunk/target/linux/lantiq/patches-4.1/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
  2015-11-24 19:29:56 UTC (rev 47627)
+++ 
trunk/target/linux/lantiq/patches-4.1/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch
  2015-11-24 20:12:21 UTC (rev 47628)
@@ -38,7 +38,7 @@
        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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to