ARM: OMAP1: ams-delta: fix incorrect section tags
authorJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Thu, 1 Mar 2012 23:19:15 +0000 (15:19 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 1 Mar 2012 23:20:24 +0000 (15:20 -0800)
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.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-ams-delta.c

index 87b1303..3c97e64 100644 (file)
@@ -154,7 +154,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,
@@ -300,7 +300,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,