aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2010-04-16 17:27:58 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 11:57:40 -0400
commit1c0e0ee580c476234b5ea410f5263fcb27d96389 (patch)
tree4d8096af517cecc799cb36e0794c3c481156ff6c
parentd62e85a0949d2b899405a1ffbae06615227d4c97 (diff)
V4L/DVB: ir-core: make ir_g_keycode_from_table a public function
The imon driver I've previously submitted and have been porting to use ir-core needs to use ir_g_keycode_from_table, as ir_keydown is not sufficient, due to these things having really oddball hardware decoders in them. This just moves the function declaration from ir-core-priv.h over to ir-core.h. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/IR/ir-core-priv.h7
-rw-r--r--include/media/ir-core.h1
2 files changed, 1 insertions, 7 deletions
diff --git a/drivers/media/IR/ir-core-priv.h b/drivers/media/IR/ir-core-priv.h
index fb2622a24ed8..8c1f84645eaf 100644
--- a/drivers/media/IR/ir-core-priv.h
+++ b/drivers/media/IR/ir-core-priv.h
@@ -58,13 +58,6 @@ struct ir_raw_event_ctrl {
58#define TO_US(duration) ((int)TO_UNITS(duration, 1000)) 58#define TO_US(duration) ((int)TO_UNITS(duration, 1000))
59 59
60/* 60/*
61 * Routines from ir-keytable.c to be used internally on ir-core and decoders
62 */
63
64u32 ir_g_keycode_from_table(struct input_dev *input_dev,
65 u32 scancode);
66
67/*
68 * Routines from ir-sysfs.c - Meant to be called only internally inside 61 * Routines from ir-sysfs.c - Meant to be called only internally inside
69 * ir-core 62 * ir-core
70 */ 63 */
diff --git a/include/media/ir-core.h b/include/media/ir-core.h
index ab3bd30d43f1..51e8eb3a3f2d 100644
--- a/include/media/ir-core.h
+++ b/include/media/ir-core.h
@@ -124,6 +124,7 @@ void ir_input_unregister(struct input_dev *input_dev);
124 124
125void ir_repeat(struct input_dev *dev); 125void ir_repeat(struct input_dev *dev);
126void ir_keydown(struct input_dev *dev, int scancode, u8 toggle); 126void ir_keydown(struct input_dev *dev, int scancode, u8 toggle);
127u32 ir_g_keycode_from_table(struct input_dev *input_dev, u32 scancode);
127 128
128/* From ir-raw-event.c */ 129/* From ir-raw-event.c */
129 130