diff options
Diffstat (limited to 'linux/drivers/media/video/zr36120.c')
-rw-r--r-- | linux/drivers/media/video/zr36120.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/video/zr36120.c b/linux/drivers/media/video/zr36120.c index b5ffe53c4..3d0b1fe18 100644 --- a/linux/drivers/media/video/zr36120.c +++ b/linux/drivers/media/video/zr36120.c @@ -335,13 +335,21 @@ DEBUG(printk(CARD_DEBUG "turning off\n",CARD)); } static +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) void zoran_irq(int irq, void *dev_id, struct pt_regs * regs) +#else +void zoran_irq(int irq, void *dev_id) +#endif { u32 stat,estat; int count = 0; struct zoran *ztv = dev_id; +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) UNUSED(irq); UNUSED(regs); +#else + UNUSED(irq); +#endif for (;;) { /* get/clear interrupt status bits */ stat=zrread(ZORAN_ISR); |