Skip to contentSkip to conversation

ARM: mach-imx/mach-mx25_3ds: Fix section type

PATCH New Fabio Estevam 2 participants 2 messages Jan 22, 2011

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: mach-imx/mach-mx25_3ds: Fix section type

---
 arch/arm/mach-imx/mach-mx25_3ds.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-imx/mach-mx25_3ds.c +1 -1
index aa76cfd..8382e79 100644
@@ -180,7 +180,7 @@ static const uint32_t mx25pdk_keymap[] = {
 	KEY(3, 3, KEY_POWER),
 };
 
-static const struct matrix_keymap_data mx25pdk_keymap_data __initdata = {
+static const struct matrix_keymap_data mx25pdk_keymap_data __initconst = {
 	.keymap		= mx25pdk_keymap,
 	.keymap_size	= ARRAY_SIZE(mx25pdk_keymap),
 };
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 ARM: mach-imx/mach-mx25_3ds: Fix section type

Quoted 1 line · Fabio Estevam
Quoted 21 lines
---
 arch/arm/mach-imx/mach-mx25_3ds.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-imx/mach-mx25_3ds.c +1 -1
index aa76cfd..8382e79 100644
@@ -180,7 +180,7 @@ static const uint32_t mx25pdk_keymap[] = {
 	KEY(3, 3, KEY_POWER),
 };
 
-static const struct matrix_keymap_data mx25pdk_keymap_data __initdata = {
+static const struct matrix_keymap_data mx25pdk_keymap_data __initconst = {
 	.keymap		= mx25pdk_keymap,
 	.keymap_size	= ARRAY_SIZE(mx25pdk_keymap),
 };
Signature · 1 line
1.6.0.4
Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |