diff options
Diffstat (limited to 'linux/drivers/media/video/w9968cf.h')
-rw-r--r-- | linux/drivers/media/video/w9968cf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/video/w9968cf.h b/linux/drivers/media/video/w9968cf.h index a89013fa3..f32a2d266 100644 --- a/linux/drivers/media/video/w9968cf.h +++ b/linux/drivers/media/video/w9968cf.h @@ -33,7 +33,12 @@ #include <linux/param.h> #include <linux/types.h> #include <linux/rwsem.h> +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include <linux/mutex.h> +#else +/* Having a version check for each mutex defined is annoying */ +#define mutex semaphore +#endif #include <media/ovcamchip.h> |