aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-04-20 01:46:38 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-04-20 01:46:38 (GMT)
commitec3410250b801c94cd825690e010be96eeac9499 (patch)
treedd016e5306701e00faaf1bc46d292202151f7c27
parentbcfdefe9f4538abf12fca1cdb631c80e3d598026 (diff)
Declare KEY_IMAGES (needed if kernel < 2.6.39-rc4)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--v4l/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index c081032..c0ad88d 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -135,6 +135,10 @@ static inline int pci_msi_enabled(void)
#define KEY_NUMERIC_POUND 0x20b
#endif
+#ifndef KEY_IMAGES
+#define KEY_IMAGES 0x1ba /* AL Image Browser */
+#endif
+
#ifndef DEFINE_PCI_DEVICE_TABLE
#define DEFINE_PCI_DEVICE_TABLE(_table) \
const struct pci_device_id _table[] __devinitconst

Privacy Policy