From 821ad0054b042b772f141809628d16bc5bdb9325 Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Thu, 8 Sep 2005 22:19:56 +0000 Subject: * i2c-kbd-gpio.c: - Use KEY_MEDIA instead of KEY_VIDEOMODESWITCH since it fix build with older kernels. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: James Schettine --- linux/drivers/media/video/ir-kbd-gpio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'linux/drivers') 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 #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? -- cgit v1.2.3