summaryrefslogtreecommitdiffstats
path: root/drivers/media/IR/ir-rc5-decoder.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2010-04-08 20:10:27 +0200
committerMauro Carvalho Chehab2010-05-19 17:57:04 +0200
commit3f113e36106f133752de47208816b28aa8e60f88 (patch)
treedd089c1f3ec2f179338f3f4383e81b643312789c /drivers/media/IR/ir-rc5-decoder.c
parentV4L/DVB: Teach drivers/media/IR/ir-raw-event.c to use durations (diff)
downloadkernel-qcow2-linux-3f113e36106f133752de47208816b28aa8e60f88.tar.gz
kernel-qcow2-linux-3f113e36106f133752de47208816b28aa8e60f88.tar.xz
kernel-qcow2-linux-3f113e36106f133752de47208816b28aa8e60f88.zip
V4L/DVB: ir-core: move subsystem internal calls to ir-core-priv.h
ir-core.h has the kABI to be used by the bridge drivers, when needing to register IR protocols and pass IR events. However, the same file also contains IR subsystem internal calls, meant to be used inside ir-core and between ir-core and the raw decoders. Better to move those functions to an internal header, for some reasons: 1) Header will be a little more cleaner; 2) It avoids the need of recompile everything (bridge/hardware drivers, etc), just because a new decoder were added, or some other internal change were needed; 3) Better organize the ir-core API, splitting the functions that are internal to IR core and the ancillary drivers (decoders, lirc_dev) from the features that should be exported to IR subsystem clients. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/ir-rc5-decoder.c')
-rw-r--r--drivers/media/IR/ir-rc5-decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/IR/ir-rc5-decoder.c b/drivers/media/IR/ir-rc5-decoder.c
index 1d0857b69089..d8f0760890fa 100644
--- a/drivers/media/IR/ir-rc5-decoder.c
+++ b/drivers/media/IR/ir-rc5-decoder.c
@@ -19,7 +19,7 @@
* the first two bits are start bits, and a third one is a filing bit
*/
-#include <media/ir-core.h>
+#include "ir-core-priv.h"
#define RC5_NBITS 14
#define RC5_UNIT 888888 /* ns */