diff options
author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | 2014-01-03 10:48:48 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-02-03 20:17:55 -0500 |
commit | d422c451a9795c7a10c3ae1ab7ca87ce7518546b (patch) | |
tree | 2e25ada97cbadce2d2bb05d4d9c26efd673d6cbd /arch/arm/mach-shmobile/board-lager.c | |
parent | ef5ecd1f20de2d1919714f029f5016bf6d061e66 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-shmobile/board-lager.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-lager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c index c5643e1d647a..aa8f1d915865 100644 --- a/arch/arm/mach-shmobile/board-lager.c +++ b/arch/arm/mach-shmobile/board-lager.c | |||
@@ -265,7 +265,7 @@ static struct mtd_partition spi_flash_part[] = { | |||
265 | }, | 265 | }, |
266 | }; | 266 | }; |
267 | 267 | ||
268 | static struct flash_platform_data spi_flash_data = { | 268 | static const struct flash_platform_data spi_flash_data = { |
269 | .name = "m25p80", | 269 | .name = "m25p80", |
270 | .parts = spi_flash_part, | 270 | .parts = spi_flash_part, |
271 | .nr_parts = ARRAY_SIZE(spi_flash_part), | 271 | .nr_parts = ARRAY_SIZE(spi_flash_part), |