summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
Diffstat (limited to 'v4l')
-rw-r--r--v4l/ChangeLog7
-rw-r--r--v4l/compat.h6
2 files changed, 5 insertions, 8 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index b47d8fc85..233b08a48 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,7 +1,8 @@
-2005-09-08 19:06 nshmyrev
+2005-09-08 23:06 nshmyrev
- * compat.h, i2c-kbd-gpio.c:
- - Define missing key value, fix compilation with older kernels
+ * 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>
diff --git a/v4l/compat.h b/v4l/compat.h
index f86330c89..6e743935e 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -1,5 +1,5 @@
/*
- * $Id: compat.h,v 1.16 2005/09/08 19:19:21 nsh Exp $
+ * $Id: compat.h,v 1.17 2005/09/08 22:19:56 nsh Exp $
*/
#ifndef _COMPAT_H
@@ -109,10 +109,6 @@ static inline unsigned long msleep_interruptible(unsigned int msecs)
#define pm_message_t u32
#endif
-#ifndef KEY_SWITCHVIDEOMODE
-#define KEY_SWITCHVIDEOMODE KEY_MEDIA
-#endif
-
#endif
/*
* Local variables: