diff options
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-core.c')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-core.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-core.c b/linux/drivers/media/video/em28xx/em28xx-core.c index c7f7869f5..f5d256862 100644 --- a/linux/drivers/media/video/em28xx/em28xx-core.c +++ b/linux/drivers/media/video/em28xx/em28xx-core.c @@ -441,7 +441,11 @@ int em28xx_resolution_set(struct em28xx *dev) /******************* isoc transfer handling ****************************/ #ifdef ENABLE_DEBUG_ISOC_FRAMES +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void em28xx_isoc_dump(struct urb *urb, struct pt_regs *regs) +#else +static void em28xx_isoc_dump(struct urb *urb) +#endif { int len = 0; int ntrans = 0; @@ -593,7 +597,11 @@ static inline void em28xx_isoc_video_copy(struct em28xx *dev, * em28xx_isoIrq() * handles the incoming isoc urbs and fills the frames from our inqueue */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static void em28xx_isocIrq(struct urb *urb, struct pt_regs *regs) +#else +static void em28xx_isocIrq(struct urb *urb) +#endif { struct em28xx *dev = urb->context; int i, status; @@ -604,7 +612,11 @@ static void em28xx_isocIrq(struct urb *urb, struct pt_regs *regs) return; #ifdef ENABLE_DEBUG_ISOC_FRAMES if (isoc_debug>1) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) em28xx_isoc_dump(urb, regs); +#else + em28xx_isoc_dump(urb); +#endif #endif if (urb->status == -ENOENT) |