summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <devnull@localhost>2005-09-08 22:19:56 +0000
committerNickolay V. Shmyrev <devnull@localhost>2005-09-08 22:19:56 +0000
commit821ad0054b042b772f141809628d16bc5bdb9325 (patch)
tree2c1993b34990aa1aff6bf322b520f11f7164ca35 /linux/drivers
parent3d44784d35a37f856d8867b7d72a7cedf0dd2c29 (diff)
downloadmediapointer-dvb-s2-821ad0054b042b772f141809628d16bc5bdb9325.tar.gz
mediapointer-dvb-s2-821ad0054b042b772f141809628d16bc5bdb9325.tar.bz2
* i2c-kbd-gpio.c:
- Use KEY_MEDIA instead of KEY_VIDEOMODESWITCH since it fix build with older kernels. Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru> Signed-off-by: James Schettine <james@NOSPAM.MyVnc.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/ir-kbd-gpio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/ir-kbd-gpio.c b/linux/drivers/media/video/ir-kbd-gpio.c
index 80d21c553..dbd21ce7c 100644
--- a/linux/drivers/media/video/ir-kbd-gpio.c
+++ b/linux/drivers/media/video/ir-kbd-gpio.c
@@ -1,5 +1,5 @@
/*
- * $Id: ir-kbd-gpio.c,v 1.17 2005/09/08 19:19:21 nsh Exp $
+ * $Id: ir-kbd-gpio.c,v 1.18 2005/09/08 22:19:56 nsh Exp $
*
* Copyright (c) 2003 Gerd Knorr
* Copyright (c) 2003 Pavel Machek
@@ -30,7 +30,6 @@
#include <media/ir-common.h>
#include "bttv.h"
-#include "compat.h"
/* ---------------------------------------------------------------------- */
@@ -164,7 +163,7 @@ static IR_KEYTAB_TYPE ir_codes_apac_viewcomp[IR_KEYTAB_SIZE] = {
static IR_KEYTAB_TYPE ir_codes_conceptronic[IR_KEYTAB_SIZE] = {
[ 30 ] = KEY_POWER, // power
- [ 7 ] = KEY_SWITCHVIDEOMODE, // source
+ [ 7 ] = KEY_MEDIA, // source
[ 28 ] = KEY_SEARCH, // scan
/* FIXME: duplicate keycodes?