diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-11-17 17:28:38 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 11:16:50 +0100 |
commit | 6bda96447cef24fbf97a798b1ea664224d5fdc25 (patch) | |
tree | 4ab424732b58dfc3b2d0f1b64bd625d67f857cfa /include | |
parent | [media] rc: Remove ir-common.h (diff) | |
download | linux-6bda96447cef24fbf97a798b1ea664224d5fdc25.tar.xz linux-6bda96447cef24fbf97a798b1ea664224d5fdc25.zip |
[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')
-rw-r--r-- | include/media/ir-kbd-i2c.h | 2 | ||||
-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 d27505f2448e..f22b359c37ff 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 c5909981b075..eedb2f0575a4 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 { |