summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pms.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/pms.c')
-rw-r--r--linux/drivers/media/video/pms.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/pms.c b/linux/drivers/media/video/pms.c
index c10296c07..bf9858257 100644
--- a/linux/drivers/media/video/pms.c
+++ b/linux/drivers/media/video/pms.c
@@ -31,9 +31,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
#include <asm/uaccess.h>
@@ -49,11 +47,7 @@ struct pms_device
struct video_picture picture;
int height;
int width;
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
struct mutex lock;
-#else
- struct semaphore lock;
-#endif
};
struct i2c_info