summaryrefslogtreecommitdiff
path: root/v4l/compat.h
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-10-27 04:56:17 +0000
committerMichael Krufky <devnull@localhost>2005-10-27 04:56:17 +0000
commit56df4af406105d8206c3beb23121c872b01258c1 (patch)
tree263768c6be34827acbfb33fc106ef8e169cc7c35 /v4l/compat.h
parentbe5a5383388034d7757116daa71d59ae4b002ff1 (diff)
downloadmediapointer-dvb-s2-56df4af406105d8206c3beb23121c872b01258c1.tar.gz
mediapointer-dvb-s2-56df4af406105d8206c3beb23121c872b01258c1.tar.bz2
* ../linux/drivers/media/video/tuner-simple.c:
(default_set_tv_freq): - ISO C90 forbids mixed declarations and code * ../v4l/compat.h: - Do not build support for nxt200x unless at least one of the following is true: a) KERNEL_VERSION >= 2.6.15 b) v4l / dvb merge-trees build environment. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'v4l/compat.h')
-rw-r--r--v4l/compat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index be421393c..ebbea9492 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -1,5 +1,5 @@
/*
- * $Id: compat.h,v 1.27 2005/10/20 20:11:39 nsh Exp $
+ * $Id: compat.h,v 1.28 2005/10/27 04:56:18 mkrufky Exp $
*/
#ifndef _COMPAT_H
@@ -134,6 +134,9 @@ static inline unsigned long msleep_interruptible(unsigned int msecs)
#undef HAVE_LGDT330X
#undef HAVE_TDA1004X
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
+#undef HAVE_NXT200X
+#endif
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)