summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/sn9c102
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/sn9c102')
-rw-r--r--linux/drivers/media/video/sn9c102/sn9c102.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/sn9c102/sn9c102.h b/linux/drivers/media/video/sn9c102/sn9c102.h
index c6e41428d..491a803e5 100644
--- a/linux/drivers/media/video/sn9c102/sn9c102.h
+++ b/linux/drivers/media/video/sn9c102/sn9c102.h
@@ -33,9 +33,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/string.h>
#include <linux/stddef.h>
#include <linux/kref.h>
@@ -131,11 +129,7 @@ struct sn9c102_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;
};