aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-lager.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>2014-01-03 10:48:48 -0500
committerSimon Horman <horms+renesas@verge.net.au>2014-02-03 20:17:55 -0500
commitd422c451a9795c7a10c3ae1ab7ca87ce7518546b (patch)
tree2e25ada97cbadce2d2bb05d4d9c26efd673d6cbd /arch/arm/mach-shmobile/board-lager.c
parentef5ecd1f20de2d1919714f029f5016bf6d061e66 (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.c2
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
268static struct flash_platform_data spi_flash_data = { 268static 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),