diff options
author | Bruno Prémont <bonbons@linux-vserver.org> | 2012-08-19 19:32:54 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-09-05 11:48:07 +0200 |
commit | ae08e324146c89f1059e9d3c3898d0260a988795 (patch) | |
tree | cc7df091c897f3f97127f08ed19cd70cc2bf97eb /drivers/hid/hid-picolcd.h | |
parent | 16048709b2f6a7e721ac677f9a6741ac1c13ffd7 (diff) | |
download | linux-ae08e324146c89f1059e9d3c3898d0260a988795.tar.bz2 |
HID: picoLCD: Add support for CIR
Implement support for picoLCD's CIR header using RC_CORE for decoding
the IR event stream.
Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-picolcd.h')
-rw-r--r-- | drivers/hid/hid-picolcd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/hid/hid-picolcd.h b/drivers/hid/hid-picolcd.h index dc4c795dea5c..240eb1cd872e 100644 --- a/drivers/hid/hid-picolcd.h +++ b/drivers/hid/hid-picolcd.h @@ -85,7 +85,9 @@ struct picolcd_data { /* input stuff */ u8 pressed_keys[2]; struct input_dev *input_keys; - struct input_dev *input_cir; +#ifdef CONFIG_HID_PICOLCD_CIR + struct rc_dev *rc_dev; +#endif unsigned short keycode[PICOLCD_KEYS]; #ifdef CONFIG_HID_PICOLCD_FB @@ -114,6 +116,7 @@ struct picolcd_data { int status; #define PICOLCD_BOOTLOADER 1 #define PICOLCD_FAILED 2 +#define PICOLCD_CIR_SHUN 4 }; #ifdef CONFIG_HID_PICOLCD_FB |