[PATCH] ARM: OMAP: Update recent gpio-keys changes in apollon board
- Also fix section mismatch: reference to .init.text: from .text
in apollon board
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
static struct gpio_keys_button apollon_gpio_keys_buttons[] = {
[0] = {
- .keycode = KEY_ENTER,
+ .code = KEY_ENTER,
.gpio = SW_ENTER_GPIO16,
.desc = "enter sw",
},
[1] = {
- .keycode = KEY_UP,
+ .code = KEY_UP,
.gpio = SW_UP_GPIO17,
.desc = "up sw",
},
[2] = {
- .keycode = KEY_DOWN,
+ .code = KEY_DOWN,
.gpio = SW_DOWN_GPIO58,
.desc = "down sw",
},
.ctrl_name = "internal",
};
-static struct omap_board_config_kernel apollon_config[] = {
+static struct omap_board_config_kernel apollon_config[] __initdata = {
{ OMAP_TAG_UART, &apollon_uart_config },
{ OMAP_TAG_MMC, &apollon_mmc_config },
{ OMAP_TAG_USB, &apollon_usb_config },