summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-18 06:53:26 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-18 06:53:26 -0200
commite49df2de9c7938517f8047293228eb4b8f17e763 (patch)
tree53cdb30ed6687a7b67d03e1646ffba589b7c0536 /v4l
parent8fc0933217b6f50fc0e535d90580b68f1c614db5 (diff)
downloadmediapointer-dvb-s2-e49df2de9c7938517f8047293228eb4b8f17e763.tar.gz
mediapointer-dvb-s2-e49df2de9c7938517f8047293228eb4b8f17e763.tar.bz2
Remove sound/driver.h
From: Mauro Carvalho Chehab <mchehab@infradead.org> sound/driver.h is already included by sound/core. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index cd3a7ac86..1d3400b88 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -14,6 +14,11 @@
#include <linux/i2c-dev.h>
#endif
+/* To allow alsa code to work */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)
+#include <sound/driver.h>
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
# define set_freezable()
#endif