From 971b7ff50e048785f9a6945ae3372e6c49267431 Mon Sep 17 00:00:00 2001 From: John Crispin 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 SVN-Revision: 21643 --- .../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 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 -- 2.30.2