summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio/radio-maxiradio.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/radio/radio-maxiradio.c')
-rw-r--r--linux/drivers/media/radio/radio-maxiradio.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/radio/radio-maxiradio.c b/linux/drivers/media/radio/radio-maxiradio.c
index 17fa03d5f..ae3fe626e 100644
--- a/linux/drivers/media/radio/radio-maxiradio.c
+++ b/linux/drivers/media/radio/radio-maxiradio.c
@@ -39,9 +39,7 @@
#include <linux/delay.h>
#include <asm/io.h>
#include <asm/uaccess.h>
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
#include <linux/mutex.h>
-#endif
#include <linux/pci.h>
#include <linux/videodev2.h>
@@ -121,11 +119,7 @@ static struct radio_device
unsigned long freq;
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15)
struct mutex lock;
-#else
- struct semaphore lock;
-#endif
} radio_unit = {
.muted =1,
.freq = FREQ_LO,