Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
authorJohn Crispin <john@openwrt.org>
Mon, 31 May 2010 11:57:32 +0000 (11:57 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 31 May 2010 11:57:32 +0000 (11:57 +0000)
Signed-off-by: Helmut Schaa
SVN-Revision: 21643

target/linux/ramips/files/arch/mips/include/asm/mach-ralink/dev-gpio-buttons.h

index c1ae71e8f2904868f00a5cf343e29233a5876c32..0ab5c3762668ea3481e157f6dbcff23efc652309 100644 (file)
@@ -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,
 static inline void ramips_register_gpio_buttons(int id,
                                                unsigned poll_interval,
                                                unsigned nbuttons,
-                                               struct gpio_button *buttons);
+                                               struct gpio_button *buttons)
 {
 }
 #endif
 {
 }
 #endif