]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/gpio_keys.h
[SCSI] libsas: Warn if ATA device detected but CONFIG_SCSI_SAS_ATA not set
[linux-2.6-omap-h63xx.git] / include / linux / gpio_keys.h
index 2b217c7b931252b962402442244dc00b212041ea..c6d3a9de5634c1d9de24c962b4fada1aaa97b4a2 100644 (file)
@@ -3,10 +3,12 @@
 
 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) */
+       int wakeup;             /* configure the button as a wake-up source */
 };
 
 struct gpio_keys_platform_data {