summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-irq.h')
-rw-r--r--linux/drivers/media/video/cx18/cx18-irq.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-irq.h b/linux/drivers/media/video/cx18/cx18-irq.h
index cbcd2022f..d1d9d1967 100644
--- a/linux/drivers/media/video/cx18/cx18-irq.h
+++ b/linux/drivers/media/video/cx18/cx18-irq.h
@@ -36,6 +36,8 @@ irqreturn_t cx18_irq_handler(int irq, void *dev_id, struct pt_regs *regs);
irqreturn_t cx18_irq_handler(int irq, void *dev_id);
#endif
-void cx18_irq_work_handler(struct work_struct *work);
-void cx18_dma_stream_dec_prepare(struct cx18_stream *s, u32 offset, int lock);
-void cx18_unfinished_dma(unsigned long arg);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20)
+void cx18_work_handler(struct work_struct *work);
+#else
+void cx18_work_handler(void *arg);
+#endif