summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/zoran_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/zoran_device.h')
-rw-r--r--linux/drivers/media/video/zoran_device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/zoran_device.h b/linux/drivers/media/video/zoran_device.h
index f19705cbd..c46d1b076 100644
--- a/linux/drivers/media/video/zoran_device.h
+++ b/linux/drivers/media/video/zoran_device.h
@@ -64,9 +64,13 @@ extern int wait_grab_pending(struct zoran *zr);
/* interrupts */
extern void print_interrupts(struct zoran *zr);
extern void clear_interrupt_counters(struct zoran *zr);
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
extern irqreturn_t zoran_irq(int irq,
void *dev_id,
struct pt_regs *regs);
+#else
+extern irqreturn_t zoran_irq(int irq, void *dev_id);
+#endif
/* JPEG codec access */
extern void jpeg_start(struct zoran *zr);