summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa5249.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/saa5249.c')
-rw-r--r--linux/drivers/media/video/saa5249.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/saa5249.c b/linux/drivers/media/video/saa5249.c
index 4443a023c..3bc0f0604 100644
--- a/linux/drivers/media/video/saa5249.c
+++ b/linux/drivers/media/video/saa5249.c
@@ -58,9 +58,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/io.h>
@@ -111,11 +109,7 @@ struct saa5249_device
int disp_mode;
int virtual_mode;
struct i2c_client *client;
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
struct mutex lock;
-#else
- struct semaphore lock;
-#endif
};