[PATCH 4/4] ARM: shmobile: lager: Make spi_flash_data const
Geert Uytterhoeven
geert at linux-m68k.org
Fri Jan 3 10:48:48 EST 2014
From: Geert Uytterhoeven <geert+renesas at linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas at linux-m68k.org>
---
arch/arm/mach-shmobile/board-lager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c
index f20c10a18543..40ace7195f84 100644
--- a/arch/arm/mach-shmobile/board-lager.c
+++ b/arch/arm/mach-shmobile/board-lager.c
@@ -263,7 +263,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),
--
1.7.9.5
More information about the linux-arm-kernel
mailing list