mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-12 01:44:54 +00:00
lantiq: fix compile error
This fixes a problem introduced in r47624. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47628
This commit is contained in:
parent
d8a62fdbc2
commit
34e0d3cb5a
@ -38,7 +38,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
if (data && data->name)
|
if (data && data->name)
|
||||||
nor->mtd.name = data->name;
|
nor->mtd.name = data->name;
|
||||||
+ else if (of_mtd_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
|
/* For some (historical?) reason many platforms provide two different
|
||||||
* names in flash_platform_data: "name" and "type". Quite often name is
|
* names in flash_platform_data: "name" and "type". Quite often name is
|
||||||
|
Loading…
Reference in New Issue
Block a user