summaryrefslogtreecommitdiff
path: root/v4l/compat.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-03-28 14:46:28 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-03-28 14:46:28 -0300
commit79210327fbe5a02bcb93d9b464ccb38fce31b432 (patch)
tree17379c86cf7ef474c35658be586bb0d94d65ba1e /v4l/compat.h
parentb809e0a0b09c4c4954d50ad8720df4b7ed56c7b9 (diff)
downloadmediapointer-dvb-s2-79210327fbe5a02bcb93d9b464ccb38fce31b432.tar.gz
mediapointer-dvb-s2-79210327fbe5a02bcb93d9b464ccb38fce31b432.tar.bz2
Avoid build warnings for distro-patched 2.6.24 kernels
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/compat.h')
-rw-r--r--v4l/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 0352fcd39..257143a6b 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -15,7 +15,7 @@
#endif
/* To allow alsa code to work */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25)
+#ifdef NEED_SOUND_DRIVER_H
#include <sound/driver.h>
#endif