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_keys.h>
17 #ifdef CONFIG_RALINK_DEV_GPIO_BUTTONS
19 ramips_register_gpio_buttons(int id
, unsigned poll_interval
, unsigned nbuttons
,
20 struct gpio_keys_button
*buttons
);
23 ramips_register_gpio_buttons(int id
, unsigned poll_interval
, unsigned nbuttons
,
24 struct gpio_keys_button
*buttons
)
29 #endif /* __ASM_MACH_RALINK_DEV_GPIO_BUTTONS_H */
This page took 0.046894 seconds and 5 git commands to generate.