From: Geert Uytterhoeven Date: Fri, 3 Jan 2014 15:48:48 +0000 (+0100) Subject: ARM: shmobile: lager: Make spi_flash_data const X-Git-Tag: upstream/snapshot3+hdmi~820 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ac2707c196a92b1e2fd0039af9f95ac75bbebfc;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ARM: shmobile: lager: Make spi_flash_data const Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman (cherry picked from commit d422c451a9795c7a10c3ae1ab7ca87ce7518546b) Signed-off-by: Simon Horman --- diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c index c5643e1..aa8f1d9 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),