]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Update recent gpio-keys changes in apollon board
authorKyungmin Park <kyungmin.park@samsung.com>
Wed, 16 May 2007 17:50:12 +0000 (10:50 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 16 May 2007 17:50:12 +0000 (10:50 -0700)
[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>
arch/arm/mach-omap2/board-apollon-keys.c
arch/arm/mach-omap2/board-apollon.c

index 6cd29ec348d004d7106e70167f76e3ebbfade5b6..8cd2e52bf2c4e48e4722d2ec1ea981c326824298 100644 (file)
 
 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",
        },
index 9e6dd0bcb090b2c8bab26330047cfe02dd89c178..60adb626fbc2c8fc7cc0f517cabbe3f198b902bd 100644 (file)
@@ -270,7 +270,7 @@ static struct omap_lcd_config apollon_lcd_config __initdata = {
        .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 },