From: Geert Uytterhoeven Date: Fri, 3 Jan 2014 15:48:48 +0000 (+0100) Subject: ARM: shmobile: lager: Make spi_flash_data const X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d422c451a9795c7a10c3ae1ab7ca87ce7518546b;p=deliverable%2Flinux.git ARM: shmobile: lager: Make spi_flash_data const Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- 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),