Path: blob/master/arch/mips/ath79/dev-gpio-buttons.h
10817 views
/*1* Atheros AR71XX/AR724X/AR913X GPIO button support2*3* Copyright (C) 2008-2010 Gabor Juhos <[email protected]>4* Copyright (C) 2008 Imre Kaloz <[email protected]>5*6* This program is free software; you can redistribute it and/or modify it7* under the terms of the GNU General Public License version 2 as published8* by the Free Software Foundation.9*/1011#ifndef _ATH79_DEV_GPIO_BUTTONS_H12#define _ATH79_DEV_GPIO_BUTTONS_H1314#include <linux/input.h>15#include <linux/gpio_keys.h>1617void ath79_register_gpio_keys_polled(int id,18unsigned poll_interval,19unsigned nbuttons,20struct gpio_keys_button *buttons);2122#endif /* _ATH79_DEV_GPIO_BUTTONS_H */232425