Commit f62de675 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] Rename rc-core files from ir- to rc-

As protocol decoders are specific to InfraRed, keep their names as-is.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 32cf86f6
ir-common-objs := ir-functions.o ir-common-objs := ir-functions.o
ir-core-objs := ir-keytable.o ir-sysfs.o ir-raw-event.o rc-map.o rc-core-objs := rc-main.o rc-sysfs.o rc-raw.o rc-map.o
obj-y += keymaps/ obj-y += keymaps/
obj-$(CONFIG_IR_CORE) += ir-core.o obj-$(CONFIG_IR_CORE) += rc-core.o
obj-$(CONFIG_IR_LEGACY) += ir-common.o obj-$(CONFIG_IR_LEGACY) += ir-common.o
obj-$(CONFIG_LIRC) += lirc_dev.o obj-$(CONFIG_LIRC) += lirc_dev.o
obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <linux/string.h> #include <linux/string.h>
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include <media/ir-common.h> #include <media/ir-common.h>
#include "ir-core-priv.h" #include "rc-core-priv.h"
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
*/ */
#include <linux/bitrev.h> #include <linux/bitrev.h>
#include "ir-core-priv.h" #include "rc-core-priv.h"
#define JVC_NBITS 16 /* dev(8) + func(8) */ #define JVC_NBITS 16 /* dev(8) + func(8) */
#define JVC_UNIT 525000 /* ns */ #define JVC_UNIT 525000 /* ns */
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <media/lirc.h> #include <media/lirc.h>
#include <media/lirc_dev.h> #include <media/lirc_dev.h>
#include <media/ir-core.h> #include <media/ir-core.h>
#include "ir-core-priv.h" #include "rc-core-priv.h"
#define LIRCBUF_SIZE 256 #define LIRCBUF_SIZE 256
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
*/ */
#include <linux/bitrev.h> #include <linux/bitrev.h>
#include "ir-core-priv.h" #include "rc-core-priv.h"
#define NEC_NBITS 32 #define NEC_NBITS 32
#define NEC_UNIT 562500 /* ns */ #define NEC_UNIT 562500 /* ns */
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* the first two bits are start bits, and a third one is a filing bit * the first two bits are start bits, and a third one is a filing bit
*/ */
#include "ir-core-priv.h" #include "rc-core-priv.h"
#define RC5_NBITS 14 #define RC5_NBITS 14
#define RC5X_NBITS 20 #define RC5X_NBITS 20
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* the first two bits are start bits, and a third one is a filing bit * the first two bits are start bits, and a third one is a filing bit
*/ */
#include "ir-core-priv.h" #include "rc-core-priv.h"
#define RC5_SZ_NBITS 15 #define RC5_SZ_NBITS 15
#define RC5_UNIT 888888 /* ns */ #define RC5_UNIT 888888 /* ns */
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include "ir-core-priv.h" #include "rc-core-priv.h"
/* /*
* This decoder currently supports: * This decoder currently supports:
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
*/ */
#include <linux/bitrev.h> #include <linux/bitrev.h>
#include "ir-core-priv.h" #include "rc-core-priv.h"
#define SONY_UNIT 600000 /* ns */ #define SONY_UNIT 600000 /* ns */
#define SONY_HEADER_PULSE (4 * SONY_UNIT) #define SONY_HEADER_PULSE (4 * SONY_UNIT)
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <linux/input.h> #include <linux/input.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "ir-core-priv.h" #include "rc-core-priv.h"
/* Sizes are in bytes, 256 bytes allows for 32 entries on x64 */ /* Sizes are in bytes, 256 bytes allows for 32 entries on x64 */
#define IR_TAB_MIN_SIZE 256 #define IR_TAB_MIN_SIZE 256
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/freezer.h> #include <linux/freezer.h>
#include "ir-core-priv.h" #include "rc-core-priv.h"
/* Define the max number of pulse/space transitions to buffer */ /* Define the max number of pulse/space transitions to buffer */
#define MAX_IR_EVENT_SIZE 512 #define MAX_IR_EVENT_SIZE 512
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/input.h> #include <linux/input.h>
#include <linux/device.h> #include <linux/device.h>
#include "ir-core-priv.h" #include "rc-core-priv.h"
#define IRRCV_NUM_DEVICES 256 #define IRRCV_NUM_DEVICES 256
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment