diff options
Diffstat (limited to 'linux/drivers/media/dvb/cinergyT2/cinergyT2.c')
-rw-r--r-- | linux/drivers/media/dvb/cinergyT2/cinergyT2.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c index 5964b27f9..90672efea 100644 --- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c @@ -255,7 +255,11 @@ static void cinergyt2_sleep (struct cinergyt2 *cinergyt2, int sleep) cinergyt2->sleeping = sleep; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void cinergyt2_stream_irq (struct urb *urb, struct pt_regs *regs); +#else +static void cinergyt2_stream_irq (struct urb *urb); +#endif static int cinergyt2_submit_stream_urb (struct cinergyt2 *cinergyt2, struct urb *urb) { @@ -275,7 +279,11 @@ static int cinergyt2_submit_stream_urb (struct cinergyt2 *cinergyt2, struct urb return err; } +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void cinergyt2_stream_irq (struct urb *urb, struct pt_regs *regs) +#else +static void cinergyt2_stream_irq (struct urb *urb) +#endif { struct cinergyt2 *cinergyt2 = urb->context; |