mirror of https://gitee.com/openkylin/linux.git
ARM: shmobile: lager: Make spi_flash_data const
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
ef5ecd1f20
commit
d422c451a9
|
@ -265,7 +265,7 @@ static struct mtd_partition spi_flash_part[] = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct flash_platform_data spi_flash_data = {
|
static const struct flash_platform_data spi_flash_data = {
|
||||||
.name = "m25p80",
|
.name = "m25p80",
|
||||||
.parts = spi_flash_part,
|
.parts = spi_flash_part,
|
||||||
.nr_parts = ARRAY_SIZE(spi_flash_part),
|
.nr_parts = ARRAY_SIZE(spi_flash_part),
|
||||||
|
|
Loading…
Reference in New Issue