2 * Ralink SoC GPIO button support
4 * Copyright (C) 2010-2011 Gabor Juhos <juhosg@openwrt.org>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
11 #ifndef __ASM_MACH_RALINK_DEV_GPIO_BUTTONS_H
12 #define __ASM_MACH_RALINK_DEV_GPIO_BUTTONS_H
14 #include <linux/input.h>
15 #include <linux/gpio_buttons.h>
17 #ifdef CONFIG_RALINK_DEV_GPIO_BUTTONS
18 void ramips_register_gpio_buttons(int id
,
19 unsigned poll_interval
,
21 struct gpio_button
*buttons
);
23 static inline void ramips_register_gpio_buttons(int id
,
24 unsigned poll_interval
,
26 struct gpio_button
*buttons
)
31 #endif /* __ASM_MACH_RALINK_DEV_GPIO_BUTTONS_H */
This page took 0.045524 seconds and 5 git commands to generate.