summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/se401.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/se401.h')
-rw-r--r--linux/drivers/media/video/se401.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/se401.h b/linux/drivers/media/video/se401.h
index bdbb20f75..81f2c2c74 100644
--- a/linux/drivers/media/video/se401.h
+++ b/linux/drivers/media/video/se401.h
@@ -6,9 +6,7 @@
#include "compat.h"
#include <linux/videodev.h>
#include <media/v4l2-common.h>
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
#include <linux/mutex.h>
-#endif
#define se401_DEBUG /* Turn on debug messages */
@@ -193,11 +191,7 @@ struct usb_se401 {
int maxframesize;
int cframesize; /* current framesize */
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
struct mutex lock;
-#else
- struct semaphore lock;
-#endif
int user; /* user count for exclusive use */
int removed; /* device disconnected */