summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-core.c4
-rw-r--r--linux/drivers/media/video/cx23885/cx23885.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-core.c b/linux/drivers/media/video/cx23885/cx23885-core.c
index d5ba3d804..6ebb63c25 100644
--- a/linux/drivers/media/video/cx23885/cx23885-core.c
+++ b/linux/drivers/media/video/cx23885/cx23885-core.c
@@ -1382,7 +1382,11 @@ static void cx23885_timeout(unsigned long data)
#define VID_C_MSK_RISCI2 (1 << 4)
#define VID_C_MSK_RISCI1 1
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static irqreturn_t cx23885_irq(int irq, void *dev_id, struct pt_regs *regs)
+#else
+static irqreturn_t cx23885_irq(int irq, void *dev_id)
+#endif
{
struct cx23885_dev *dev = dev_id;
struct cx23885_tsport *port = &dev->ts2;
diff --git a/linux/drivers/media/video/cx23885/cx23885.h b/linux/drivers/media/video/cx23885/cx23885.h
index 3b3eb54bb..adcb31bf6 100644
--- a/linux/drivers/media/video/cx23885/cx23885.h
+++ b/linux/drivers/media/video/cx23885/cx23885.h
@@ -28,7 +28,7 @@
#include <media/tuner.h>
#include <media/tveeprom.h>
#include <media/video-buf.h>
-#ifdef HAVE_VIDEO_BUF_DVB
+#if defined(CONFIG_VIDEO_BUF_DVB) || defined(CONFIG_VIDEO_BUF_DVB_MODULE)
#include <media/video-buf-dvb.h>
#endif
#include "compat.h"