aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-03-24 21:30:05 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-24 21:58:55 -0400
commit30f5b28e7f937608e0407edaa459cc8161de81d9 (patch)
tree198d740261ce2a313b21fd81b8f3530ec5089ef7
parenta7351402574eec1308b099cc8e8108e715a2c8b6 (diff)
[media] rc: update for bitop name changes
Fix the following compile failure: drivers/media/rc/ite-cir.c: In function 'ite_decode_bytes': drivers/media/rc/ite-cir.c:190: error: implicit declaration of function 'generic_find_next_le_bit' drivers/media/rc/ite-cir.c:199: error: implicit declaration of function 'generic_find_next_zero_le_bit' Caused by commit 620a32bba4a2 ("[media] rc: New rc-based ite-cir driver for several ITE CIRs") interacting with commit c4945b9ed472 ("asm-generic: rename generic little-endian bitops functions"). Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/media/rc/ite-cir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/ite-cir.c b/drivers/media/rc/ite-cir.c
index 9be6a830f1d2..ac0e42b47b2a 100644
--- a/drivers/media/rc/ite-cir.c
+++ b/drivers/media/rc/ite-cir.c
@@ -187,7 +187,7 @@ static void ite_decode_bytes(struct ite_dev *dev, const u8 * data, int
187 sample_period = dev->params.sample_period; 187 sample_period = dev->params.sample_period;
188 ldata = (unsigned long *)data; 188 ldata = (unsigned long *)data;
189 size = length << 3; 189 size = length << 3;
190 next_one = generic_find_next_le_bit(ldata, size, 0); 190 next_one = find_next_bit_le(ldata, size, 0);
191 if (next_one > 0) { 191 if (next_one > 0) {
192 ev.pulse = true; 192 ev.pulse = true;
193 ev.duration = 193 ev.duration =
@@ -196,14 +196,14 @@ static void ite_decode_bytes(struct ite_dev *dev, const u8 * data, int
196 } 196 }
197 197
198 while (next_one < size) { 198 while (next_one < size) {
199 next_zero = generic_find_next_zero_le_bit(ldata, size, next_one + 1); 199 next_zero = find_next_zero_bit_le(ldata, size, next_one + 1);
200 ev.pulse = false; 200 ev.pulse = false;
201 ev.duration = ITE_BITS_TO_NS(next_zero - next_one, sample_period); 201 ev.duration = ITE_BITS_TO_NS(next_zero - next_one, sample_period);
202 ir_raw_event_store_with_filter(dev->rdev, &ev); 202 ir_raw_event_store_with_filter(dev->rdev, &ev);
203 203
204 if (next_zero < size) { 204 if (next_zero < size) {
205 next_one = 205 next_one =
206 generic_find_next_le_bit(ldata, 206 find_next_bit_le(ldata,
207 size, 207 size,
208 next_zero + 1); 208 next_zero + 1);
209 ev.pulse = true; 209 ev.pulse = true;