Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40838
/* -------------------------------------------------------------------------*/
/* -------------------------------------------------------------------------*/
static int button_get_index(unsigned int code)
{
int i;
static int button_get_index(unsigned int code)
{
int i;
(seen - priv->seen) / HZ, value);
priv->seen = seen;
}
(seen - priv->seen) / HZ, value);
priv->seen = seen;
}
-#else
-static void button_hotplug_event(struct gpio_keys_button_data *data,
- unsigned int type, int value)
-{
-}
-#endif /* CONFIG_HOTPLUG */
struct gpio_keys_button_dev {
int polled;
struct gpio_keys_button_dev {
int polled;