提交 a368f776 编写于 作者: B Bjarne Steinsbo 提交者: Tony Lindgren

ARM: OMAP4: Keyboard: Fix section mismatch in the board file

`keypad_pads' is referred to by `keypad_data' which is
not __initdata, so `keypad_pads' should not be __initdata either.
Signed-off-by: NBjarne Steinsbo <bsteinsbo@gmail.com>
Reviewed-by: NFelipe Balbi <balbi@ti.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 b8e111a7
...@@ -129,7 +129,7 @@ static const int sdp4430_keymap[] = { ...@@ -129,7 +129,7 @@ static const int sdp4430_keymap[] = {
KEY(7, 6, KEY_OK), KEY(7, 6, KEY_OK),
KEY(7, 7, KEY_DOWN), 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", { .name = "kpd_col1.kpd_col1",
.enable = OMAP_WAKEUP_EN | OMAP_MUX_MODE1, .enable = OMAP_WAKEUP_EN | OMAP_MUX_MODE1,
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册