Browse Source

ARM: shmobile: lager: Make spi_flash_data const

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Geert Uytterhoeven 11 years ago
parent
commit
d422c451a9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-shmobile/board-lager.c

+ 1 - 1
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),