diff options
Diffstat (limited to 'linux/drivers/media/video/planb.c')
-rw-r--r-- | linux/drivers/media/video/planb.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/video/planb.c b/linux/drivers/media/video/planb.c index baa0c55a7..667edaf0d 100644 --- a/linux/drivers/media/video/planb.c +++ b/linux/drivers/media/video/planb.c @@ -92,7 +92,11 @@ static void planb_close(struct video_device *); static int planb_ioctl(struct video_device *, unsigned int, void *); static int planb_init_done(struct video_device *); static int planb_mmap(struct video_device *, const char *, unsigned long); +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void planb_irq(int, void *, struct pt_regs *); +#else +static void planb_irq(int, void *); +#endif static void release_planb(void); int init_planbs(struct video_init *); @@ -1317,7 +1321,11 @@ cmd_tab_data_end: return c1; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void planb_irq(int irq, void *dev_id, struct pt_regs * regs) +#else +static void planb_irq(int irq, void *dev_id) +#endif { unsigned int stat, astat; struct planb *pb = (struct planb *)dev_id; |