summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ir-kbd-i2c.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-11-03 09:04:50 +0000
committerGerd Knorr <devnull@localhost>2004-11-03 09:04:50 +0000
commit5c11d159f1e04623e962b2338c05e7e7986da8a7 (patch)
tree6a49c1862fc0aea2716e8b5d8e62c4bee04079c5 /linux/drivers/media/video/ir-kbd-i2c.c
parentb8c933a4132a513316cf1a0dcaa898af0aa27640 (diff)
downloadmediapointer-dvb-s2-5c11d159f1e04623e962b2338c05e7e7986da8a7.tar.gz
mediapointer-dvb-s2-5c11d159f1e04623e962b2338c05e7e7986da8a7.tar.bz2
- cx88: fix/add dvb cards by Christopher Pascoe
- saa7134: new card - misc minor fixes.
Diffstat (limited to 'linux/drivers/media/video/ir-kbd-i2c.c')
-rw-r--r--linux/drivers/media/video/ir-kbd-i2c.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/linux/drivers/media/video/ir-kbd-i2c.c b/linux/drivers/media/video/ir-kbd-i2c.c
index 849686426..ada90d489 100644
--- a/linux/drivers/media/video/ir-kbd-i2c.c
+++ b/linux/drivers/media/video/ir-kbd-i2c.c
@@ -1,5 +1,5 @@
/*
- * $Id: ir-kbd-i2c.c,v 1.8 2004/09/15 16:15:24 kraxel Exp $
+ * $Id: ir-kbd-i2c.c,v 1.9 2004/11/03 09:04:51 kraxel Exp $
*
* keyboard input driver for i2c IR remote controls
*
@@ -155,16 +155,6 @@ module_param(debug, int, 0644); /* debug level (0,1,2) */
/* ----------------------------------------------------------------------- */
-static inline int reverse(int data, int bits)
-{
- int i,c;
-
- for (c=0,i=0; i<bits; i++) {
- c |= (((data & (1<<i)) ? 1:0)) << (bits-1-i);
- }
- return c;
-}
-
static int get_key_haup(struct IR *ir, u32 *ir_key, u32 *ir_raw)
{
unsigned char buf[3];