diff options
Diffstat (limited to 'linux/drivers/media/video/zc0301/zc0301.h')
-rw-r--r-- | linux/drivers/media/video/zc0301/zc0301.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/zc0301/zc0301.h b/linux/drivers/media/video/zc0301/zc0301.h index d0e258176..a7c7b1116 100644 --- a/linux/drivers/media/video/zc0301/zc0301.h +++ b/linux/drivers/media/video/zc0301/zc0301.h @@ -33,9 +33,7 @@ #include <linux/wait.h> #include <linux/types.h> #include <linux/param.h> -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include <linux/mutex.h> -#endif #include <linux/rwsem.h> #include <linux/stddef.h> #include <linux/string.h> @@ -130,11 +128,7 @@ struct zc0301_device { u8 users; struct completion probe; -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) struct mutex open_mutex, fileop_mutex; -#else - struct semaphore open_mutex, fileop_mutex; -#endif spinlock_t queue_lock; wait_queue_head_t wait_open, wait_frame, wait_stream; }; |