summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/vino.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/vino.c')
-rw-r--r--linux/drivers/media/video/vino.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/vino.c b/linux/drivers/media/video/vino.c
index 0ff1ecc00..c4b7fc2bc 100644
--- a/linux/drivers/media/video/vino.c
+++ b/linux/drivers/media/video/vino.c
@@ -2325,7 +2325,11 @@ static void vino_capture_tasklet(unsigned long channel) {
}
}
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static irqreturn_t vino_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+#else
+static irqreturn_t vino_interrupt(int irq, void *dev_id)
+#endif
{
u32 ctrl, intr;
unsigned int fc_a, fc_b;