summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
Diffstat (limited to 'v4l')
-rw-r--r--v4l/ChangeLog10
-rw-r--r--v4l/compat.h14
2 files changed, 23 insertions, 1 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog
index 674076f87..3fbe6cf8e 100644
--- a/v4l/ChangeLog
+++ b/v4l/ChangeLog
@@ -1,3 +1,13 @@
+2005-06-13 12:38 nshmyrev
+ * saa7134-cards.c, saa7134-dvb.c, saa7134.h:
+
+ - Add new Typhoon DVB-T Cardbus. Thanks to
+ Juergen Orschiedt <jorschiedt@web.de>
+
+ cx88-core.c:
+
+ - Fix compilation with gcc4.0
+
2005-06-13 03:24 nshmyrev
* cx88-cards.c. cx88-input.c:
diff --git a/v4l/compat.h b/v4l/compat.h
index c81154aff..e268820b9 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -1,7 +1,19 @@
/*
- * $Id: compat.h,v 1.11 2005/06/12 04:19:19 mchehab Exp $
+ * $Id: compat.h,v 1.12 2005/06/13 08:42:51 nsh Exp $
*/
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,18)
+# define minor(x) MINOR(x)
+#endif
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+# define need_resched() (current->need_resched)
+#endif
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,19)
+# define BUG_ON(condition) do { if ((condition)!=0) BUG(); } while(0)
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,23)
# define irqreturn_t void
# define IRQ_RETVAL(foobar)