]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/gpio_keys.h
stacktrace: fix header file for !CONFIG_STACKTRACE
[karo-tx-linux.git] / include / linux / gpio_keys.h
index 2b217c7b931252b962402442244dc00b212041ea..265d17830a0f7500cdc83e393d8950f616ff3c86 100644 (file)
@@ -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 {