summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-11-17 13:28:38 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:16:50 -0200
commit6bda96447cef24fbf97a798b1ea664224d5fdc25 (patch)
tree4ab424732b58dfc3b2d0f1b64bd625d67f857cfa /include/media
parenta6e3b81f6198654207c4e972e7ed91931e53e93c (diff)
downloadop-kernel-dev-6bda96447cef24fbf97a798b1ea664224d5fdc25.zip
op-kernel-dev-6bda96447cef24fbf97a798b1ea664224d5fdc25.tar.gz
[media] rc: rename the remaining things to rc_core
The Remote Controller subsystem is meant to be used not only by Infra Red but also for similar types of Remote Controllers. The core is not specific to Infra Red. As such, rename: - ir-core.h to rc-core.h - IR_CORE to RC_CORE - namespace inside rc-core.c/rc-core.h To be consistent with the other changes. No functional change on this patch. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ir-kbd-i2c.h2
-rw-r--r--include/media/rc-core.h (renamed from include/media/ir-core.h)4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/media/ir-kbd-i2c.h b/include/media/ir-kbd-i2c.h
index d27505f..f22b359 100644
--- a/include/media/ir-kbd-i2c.h
+++ b/include/media/ir-kbd-i2c.h
@@ -1,7 +1,7 @@
#ifndef _IR_I2C
#define _IR_I2C
-#include <media/ir-core.h>
+#include <media/rc-core.h>
#define DEFAULT_POLLING_INTERVAL 100 /* ms */
diff --git a/include/media/ir-core.h b/include/media/rc-core.h
index c590998..eedb2f0 100644
--- a/include/media/ir-core.h
+++ b/include/media/rc-core.h
@@ -22,8 +22,8 @@
#include <linux/timer.h>
#include <media/rc-map.h>
-extern int ir_core_debug;
-#define IR_dprintk(level, fmt, arg...) if (ir_core_debug >= level) \
+extern int rc_core_debug;
+#define IR_dprintk(level, fmt, arg...) if (rc_core_debug >= level) \
printk(KERN_DEBUG "%s: " fmt , __func__, ## arg)
enum rc_driver_type {
OpenPOWER on IntegriCloud