Skip to contentSkip to conversation

ARM: OMAP1: ams-delta: fix incorrect section tags

PATCH New Janusz Krzysztofik 1 participant 1 message Feb 10, 2012 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#1 lore raw

PATCH 1/1 ARM: OMAP1: ams-delta: fix incorrect section tags

In reply to a message not in the archive

While resolving section mismatches introduced with recent patches to for-next, a few dangerous, driver bind/unbind unaware section tagging already present in mainline have been identified. Fix them.

Created and tested against linux-3.3-rc2.

---
 arch/arm/mach-omap1/board-ams-delta.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-omap1/board-ams-delta.c +2 -2
index 88909cc..41589ed 100644
@@ -163,7 +163,7 @@ static struct omap_lcd_config ams_delta_lcd_config = {
 	.ctrl_name	= "internal",
 };
 
-static struct omap_usb_config ams_delta_usb_config __initdata = {
+static struct omap_usb_config ams_delta_usb_config = {
 	.register_host	= 1,
 	.hmc_mode	= 16,
 	.pins[0]	= 2,
@@ -202,7 +202,7 @@ static const struct matrix_keymap_data ams_delta_keymap_data = {
 	.keymap_size	= ARRAY_SIZE(ams_delta_keymap),
 };
 
-static struct omap_kp_platform_data ams_delta_kp_data __initdata = {
+static struct omap_kp_platform_data ams_delta_kp_data = {
 	.rows		= 8,
 	.cols		= 8,
 	.keymap_data	= &ams_delta_keymap_data,
Signature · 1 line
1.7.3.4