diff options
Diffstat (limited to 'linux/include/media/v4l2-dev.h')
-rw-r--r-- | linux/include/media/v4l2-dev.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/linux/include/media/v4l2-dev.h b/linux/include/media/v4l2-dev.h index fb356eb57..aa0fd8c94 100644 --- a/linux/include/media/v4l2-dev.h +++ b/linux/include/media/v4l2-dev.h @@ -15,11 +15,7 @@ #include <linux/poll.h> #include <linux/fs.h> #include <linux/device.h> -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include <linux/mutex.h> -#else -#include <asm/semaphore.h> -#endif #include <linux/compiler.h> /* need __user */ #ifdef CONFIG_VIDEO_V4L1_COMPAT #include <linux/videodev.h> @@ -359,11 +355,7 @@ void *priv; /* for videodev.c intenal usage -- please don't touch */ int users; /* video_exclusive_{open|close} ... */ -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) struct mutex lock; /* ... helper function uses these */ -#else - struct semaphore lock; /* ... helper function uses these */ -#endif }; /* Class-dev to video-device */ |