]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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+renesas@verge.net.au>
Tue, 4 Feb 2014 01:17:55 +0000 (10:17 +0900)
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-lager.c

index c5643e1d647a9ba1aedc917d56e76abfee48aecf..aa8f1d915865cb3b708c2f572325d8121b537d36 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),