X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1284f885f3f4f7dca40714fd8f70d5d578957c5d..222337418516413e4f9c968bc3c548e4f58095c4:/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h index c1ae71e8f..8eb5e1690 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h @@ -1,7 +1,7 @@ /* * Ralink SoC GPIO button support * - * Copyright (C) 2010 Gabor Juhos + * Copyright (C) 2010-2011 Gabor Juhos * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published @@ -12,18 +12,16 @@ #define __ASM_MACH_RALINK_DEV_GPIO_BUTTONS_H #include -#include +#include #ifdef CONFIG_RALINK_DEV_GPIO_BUTTONS -void __init ramips_register_gpio_buttons(int id, - unsigned poll_interval, - unsigned nbuttons, - struct gpio_button *buttons); +void +ramips_register_gpio_buttons(int id, unsigned poll_interval, unsigned nbuttons, + struct gpio_keys_button *buttons); #else -static inline void ramips_register_gpio_buttons(int id, - unsigned poll_interval, - unsigned nbuttons, - struct gpio_button *buttons); +static inline void +ramips_register_gpio_buttons(int id, unsigned poll_interval, unsigned nbuttons, + struct gpio_keys_button *buttons) { } #endif