aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2010-11-19 18:43:27 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:16:54 -0500
commit829ba9fe34246f1f5e813b6bf84171d36e776734 (patch)
treea66b938c4a8db2e3c4687e07b082fcea48202b01
parent3938e0cfeb812e7b66f4e1cb6e34eb2e6864c6a2 (diff)
[media] rc-core: fix some leftovers from the renaming patches
Fix some minor comments etc which are leftover from the old naming scheme. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/rc/ir-raw.c2
-rw-r--r--drivers/media/rc/rc-core-priv.h6
-rw-r--r--drivers/media/rc/rc-main.c2
-rw-r--r--include/media/rc-core.h12
4 files changed, 11 insertions, 11 deletions
diff --git a/drivers/media/rc/ir-raw.c b/drivers/media/rc/ir-raw.c
index 165412fd240e..185baddcbf14 100644
--- a/drivers/media/rc/ir-raw.c
+++ b/drivers/media/rc/ir-raw.c
@@ -1,4 +1,4 @@
1/* ir-raw-event.c - handle IR Pulse/Space event 1/* ir-raw.c - handle IR pulse/space events
2 * 2 *
3 * Copyright (C) 2010 by Mauro Carvalho Chehab <mchehab@redhat.com> 3 * Copyright (C) 2010 by Mauro Carvalho Chehab <mchehab@redhat.com>
4 * 4 *
diff --git a/drivers/media/rc/rc-core-priv.h b/drivers/media/rc/rc-core-priv.h
index 48065b714d00..873b38789751 100644
--- a/drivers/media/rc/rc-core-priv.h
+++ b/drivers/media/rc/rc-core-priv.h
@@ -13,8 +13,8 @@
13 * GNU General Public License for more details. 13 * GNU General Public License for more details.
14 */ 14 */
15 15
16#ifndef _IR_RAW_EVENT 16#ifndef _RC_CORE_PRIV
17#define _IR_RAW_EVENT 17#define _RC_CORE_PRIV
18 18
19#include <linux/slab.h> 19#include <linux/slab.h>
20#include <linux/spinlock.h> 20#include <linux/spinlock.h>
@@ -190,4 +190,4 @@ void ir_raw_init(void);
190#endif 190#endif
191 191
192 192
193#endif /* _IR_RAW_EVENT */ 193#endif /* _RC_CORE_PRIV */
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c
index 0b0524c29325..6bdd0d3c02e8 100644
--- a/drivers/media/rc/rc-main.c
+++ b/drivers/media/rc/rc-main.c
@@ -1,4 +1,4 @@
1/* rc-core.c - handle IR scancode->keycode tables 1/* rc-main.c - Remote Controller core module
2 * 2 *
3 * Copyright (C) 2009-2010 by Mauro Carvalho Chehab <mchehab@redhat.com> 3 * Copyright (C) 2009-2010 by Mauro Carvalho Chehab <mchehab@redhat.com>
4 * 4 *
diff --git a/include/media/rc-core.h b/include/media/rc-core.h
index affb93feed3b..a23c1fc685a1 100644
--- a/include/media/rc-core.h
+++ b/include/media/rc-core.h
@@ -206,12 +206,12 @@ static inline u32 ir_extract_bits(u32 data, u32 mask)
206 u32 vbit = 1, value = 0; 206 u32 vbit = 1, value = 0;
207 207
208 do { 208 do {
209 if (mask & 1) { 209 if (mask & 1) {
210 if (data & 1) 210 if (data & 1)
211 value |= vbit; 211 value |= vbit;
212 vbit <<= 1; 212 vbit <<= 1;
213 } 213 }
214 data >>= 1; 214 data >>= 1;
215 } while (mask >>= 1); 215 } while (mask >>= 1);
216 216
217 return value; 217 return value;