diff options
Diffstat (limited to 'linux/drivers/media/video/et61x251/et61x251.h')
-rw-r--r-- | linux/drivers/media/video/et61x251/et61x251.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/et61x251/et61x251.h b/linux/drivers/media/video/et61x251/et61x251.h index 64ff5de0d..d39eabc9d 100644 --- a/linux/drivers/media/video/et61x251/et61x251.h +++ b/linux/drivers/media/video/et61x251/et61x251.h @@ -34,9 +34,7 @@ #include <linux/types.h> #include <linux/param.h> #include <linux/rwsem.h> -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include <linux/mutex.h> -#endif #include <linux/stddef.h> #include <linux/string.h> #include <linux/kref.h> @@ -167,11 +165,7 @@ struct et61x251_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; }; |