summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-lager.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>2014-01-03 16:48:48 +0100
committerSimon Horman <horms+renesas@verge.net.au>2014-02-04 10:17:55 +0900
commitd422c451a9795c7a10c3ae1ab7ca87ce7518546b (patch)
tree2e25ada97cbadce2d2bb05d4d9c26efd673d6cbd /arch/arm/mach-shmobile/board-lager.c
parentef5ecd1f20de2d1919714f029f5016bf6d061e66 (diff)
downloadblackbird-obmc-linux-d422c451a9795c7a10c3ae1ab7ca87ce7518546b.tar.gz
blackbird-obmc-linux-d422c451a9795c7a10c3ae1ab7ca87ce7518546b.zip
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[] = {
},
};
-static struct flash_platform_data spi_flash_data = {
+static const struct flash_platform_data spi_flash_data = {
.name = "m25p80",
.parts = spi_flash_part,
.nr_parts = ARRAY_SIZE(spi_flash_part),
OpenPOWER on IntegriCloud