From: John Crispin Date: Mon, 31 May 2010 11:57:32 +0000 (+0000) Subject: Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set. X-Git-Tag: reboot~19751 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=971b7ff50e048785f9a6945ae3372e6c49267431;p=openwrt%2Fstaging%2Fblogic.git Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set. Signed-off-by: Helmut Schaa SVN-Revision: 21643 --- 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 c1ae71e8f290..0ab5c3762668 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 @@ -23,7 +23,7 @@ void __init ramips_register_gpio_buttons(int id, static inline void ramips_register_gpio_buttons(int id, unsigned poll_interval, unsigned nbuttons, - struct gpio_button *buttons); + struct gpio_button *buttons) { } #endif