summaryrefslogtreecommitdiff
path: root/v4l/compat.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-20 09:13:44 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-20 09:13:44 -0200
commit9b771c780d9f19ae15d1e0bd15b6a83c4b8d3f49 (patch)
treef78c454775b4d21134be65479017449c29b2d4ca /v4l/compat.h
parent9a3cca9ddec155f7c751f0e0dbc2facb344f66d9 (diff)
parente07e5abc1bfe38913c72ca97cce4d7b7b034cd1d (diff)
downloadmediapointer-dvb-s2-9b771c780d9f19ae15d1e0bd15b6a83c4b8d3f49.tar.gz
mediapointer-dvb-s2-9b771c780d9f19ae15d1e0bd15b6a83c4b8d3f49.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/tda18271
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.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