projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pull netlink into release branch
[linux-block.git]
/
include
/
linux
/
gpio_keys.h
diff --git
a/include/linux/gpio_keys.h
b/include/linux/gpio_keys.h
index 2b217c7b931252b962402442244dc00b212041ea..265d17830a0f7500cdc83e393d8950f616ff3c86 100644
(file)
--- a/
include/linux/gpio_keys.h
+++ b/
include/linux/gpio_keys.h
@@
-3,10
+3,11
@@
struct gpio_keys_button {
/* Configuration parameters */
- int
keycode;
+ int
code; /* input event code (KEY_*, SW_*) */
int gpio;
int active_low;
char *desc;
+ int type; /* input event type (EV_KEY, EV_SW) */
};
struct gpio_keys_platform_data {