diff options
-rw-r--r-- | arch/arm/mach-sa1100/simpad.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c index 1bafb234a7c3..a7069d97e6f4 100644 --- a/arch/arm/mach-sa1100/simpad.c +++ b/arch/arm/mach-sa1100/simpad.c @@ -259,7 +259,12 @@ static void simpad_power_off(void) */ static struct gpio_keys_button simpad_button_table[] = { - { KEY_POWER, IRQ_GPIO_POWER_BUTTON, 1, "power button" }, + { + .code = KEY_POWER, + .gpio = IRQ_GPIO_POWER_BUTTON, + .active_low = 1, + .desc = "power button", + }, }; static struct gpio_keys_platform_data simpad_keys_data = { |