From 18cc5a381028ae43f34ab45caba64df9a0d12b47 Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 31 May 2010 11:57:32 +0000 Subject: [PATCH] Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set. Signed-off-by: Helmut Schaa git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21643 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..0ab5c3762 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 -- 2.20.1