summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-04-04 10:44:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 12:56:57 -0300
commit587835a4b0ada7d78c4f3300e3ab26b7b2495705 (patch)
treead22f6a0e603f19450227b0cb260b5bb5960dfd5 /include/media
parent26d5683d36729f11f5764909ae37c69488596d36 (diff)
downloadlinux-587835a4b0ada7d78c4f3300e3ab26b7b2495705.tar.bz2
V4L-DVB: ir-core: remove the ancillary buffer
Now that the decoders are state machine, there's no need to create an ancillary buffer while decoding the protocol. Just call the decoders code directly, event by event. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ir-core.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/media/ir-core.h b/include/media/ir-core.h
index 40900739cb84..1c1e8d9bd10a 100644
--- a/include/media/ir-core.h
+++ b/include/media/ir-core.h
@@ -101,8 +101,7 @@ struct ir_raw_handler {
struct list_head list;
int (*decode)(struct input_dev *input_dev,
- struct ir_raw_event *evs,
- int len);
+ struct ir_raw_event *ev);
int (*raw_register)(struct input_dev *input_dev);
int (*raw_unregister)(struct input_dev *input_dev);
};