diff options
Diffstat (limited to 'linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c')
-rw-r--r-- | linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c index 36dd35db4..f2d18a5fb 100644 --- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c +++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c @@ -214,7 +214,11 @@ static u16 rc_keys[] = { static void ttusb_dec_set_model(struct ttusb_dec *dec, enum ttusb_dec_model model); +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void ttusb_dec_handle_irq( struct urb *urb, struct pt_regs *regs) +#else +static void ttusb_dec_handle_irq( struct urb *urb) +#endif { struct ttusb_dec * dec = urb->context; char *buffer = dec->irq_buffer; @@ -766,7 +770,11 @@ static void ttusb_dec_process_urb_frame_list(unsigned long data) } } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void ttusb_dec_process_urb(struct urb *urb, struct pt_regs *ptregs) +#else +static void ttusb_dec_process_urb(struct urb *urb) +#endif { struct ttusb_dec *dec = urb->context; |