X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/1284f885f3f4f7dca40714fd8f70d5d578957c5d..71c649d0975fb1113664c1a940f9b4257fc013d6:/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..d223737e0 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 @@ -15,15 +15,15 @@ #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_button *buttons); #else static inline void ramips_register_gpio_buttons(int id, unsigned poll_interval, unsigned nbuttons, - struct gpio_button *buttons); + struct gpio_button *buttons) { } #endif