diff options
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-irq.c')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-irq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-irq.c b/linux/drivers/media/video/cx18/cx18-irq.c index 25114a5cb..654664783 100644 --- a/linux/drivers/media/video/cx18/cx18-irq.c +++ b/linux/drivers/media/video/cx18/cx18-irq.c @@ -132,7 +132,11 @@ static void hpu_cmd(struct cx18 *cx, u32 sw1) CX18_WARN("Unexpected interrupt %08x\n", sw1); } +#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 18) +irqreturn_t cx18_irq_handler(int irq, void *dev_id, struct pt_regs *regs) +#else irqreturn_t cx18_irq_handler(int irq, void *dev_id) +#endif { struct cx18 *cx = (struct cx18 *)dev_id; u32 sw1, sw1_mask; |