diff options
author | Bruno Prémont <bonbons@linux-vserver.org> | 2012-08-19 13:32:54 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-09-05 05:48:07 -0400 |
commit | ae08e324146c89f1059e9d3c3898d0260a988795 (patch) | |
tree | cc7df091c897f3f97127f08ed19cd70cc2bf97eb /drivers/hid/hid-picolcd.h | |
parent | 16048709b2f6a7e721ac677f9a6741ac1c13ffd7 (diff) |
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 { | |||
85 | /* input stuff */ | 85 | /* input stuff */ |
86 | u8 pressed_keys[2]; | 86 | u8 pressed_keys[2]; |
87 | struct input_dev *input_keys; | 87 | struct input_dev *input_keys; |
88 | struct input_dev *input_cir; | 88 | #ifdef CONFIG_HID_PICOLCD_CIR |
89 | struct rc_dev *rc_dev; | ||
90 | #endif | ||
89 | unsigned short keycode[PICOLCD_KEYS]; | 91 | unsigned short keycode[PICOLCD_KEYS]; |
90 | 92 | ||
91 | #ifdef CONFIG_HID_PICOLCD_FB | 93 | #ifdef CONFIG_HID_PICOLCD_FB |
@@ -114,6 +116,7 @@ struct picolcd_data { | |||
114 | int status; | 116 | int status; |
115 | #define PICOLCD_BOOTLOADER 1 | 117 | #define PICOLCD_BOOTLOADER 1 |
116 | #define PICOLCD_FAILED 2 | 118 | #define PICOLCD_FAILED 2 |
119 | #define PICOLCD_CIR_SHUN 4 | ||
117 | }; | 120 | }; |
118 | 121 | ||
119 | #ifdef CONFIG_HID_PICOLCD_FB | 122 | #ifdef CONFIG_HID_PICOLCD_FB |