ARM: shmobile: lager: Make spi_flash_data const
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Fri, 3 Jan 2014 15:48:48 +0000 (16:48 +0100)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:55 +0000 (09:21 +0900)
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit d422c451a9795c7a10c3ae1ab7ca87ce7518546b)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-lager.c

index c5643e1..aa8f1d9 100644 (file)
@@ -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),