summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx23885/cx23885.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/cx23885/cx23885.h')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885.h b/linux/drivers/media/video/cx23885/cx23885.h
index 11ad18af6..9a0b4bf3a 100644
--- a/linux/drivers/media/video/cx23885/cx23885.h
+++ b/linux/drivers/media/video/cx23885/cx23885.h
@@ -36,9 +36,7 @@
#include "media/cx2341x.h"
#include <linux/version.h>
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
#include <linux/mutex.h>
-#endif
#define CX23885_VERSION_CODE KERNEL_VERSION(0,0,1)
@@ -286,11 +284,7 @@ struct cx23885_dev {
struct cx23885_i2c i2c_bus[3];
int nr;
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
struct mutex lock;
-#else
- struct semaphore lock;
-#endif
/* board details */
unsigned int board;