mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
18 lines
254 B
C
18 lines
254 B
C
![]() |
#ifndef _GPIO_KEYS_H
|
||
|
#define _GPIO_KEYS_H
|
||
|
|
||
|
struct gpio_keys_button {
|
||
|
/* Configuration parameters */
|
||
|
int keycode;
|
||
|
int gpio;
|
||
|
int active_low;
|
||
|
char *desc;
|
||
|
};
|
||
|
|
||
|
struct gpio_keys_platform_data {
|
||
|
struct gpio_keys_button *buttons;
|
||
|
int nbuttons;
|
||
|
};
|
||
|
|
||
|
#endif
|