ARM: OMAP4: Keyboard: Fix section mismatch in the board file
authorBjarne Steinsbo <bsteinsbo@gmail.com>
Fri, 30 Sep 2011 18:05:56 +0000 (11:05 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 3 Oct 2011 18:46:49 +0000 (11:46 -0700)
`keypad_pads' is referred to by `keypad_data' which is
not __initdata, so `keypad_pads' should not be __initdata either.

Signed-off-by: Bjarne Steinsbo <bsteinsbo@gmail.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-4430sdp.c

index c7cef44c75d4e3df3753e1693ecd2835fadcc5c2..9e423ac74997ffd88279ea5f4d0717fc10255591 100644 (file)
@@ -129,7 +129,7 @@ static const int sdp4430_keymap[] = {
        KEY(7, 6, KEY_OK),
        KEY(7, 7, KEY_DOWN),
 };
-static struct omap_device_pad keypad_pads[] __initdata = {
+static struct omap_device_pad keypad_pads[] = {
        {       .name   = "kpd_col1.kpd_col1",
                .enable = OMAP_WAKEUP_EN | OMAP_MUX_MODE1,
        },