Skip to content
Snippets Groups Projects
Commit 34e0d3cb authored by Hauke Mehrtens's avatar Hauke Mehrtens
Browse files

lantiq: fix compile error


This fixes a problem introduced in r47624.

Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47628
parent d8a62fdb
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment