diff options
Diffstat (limited to 'linux/drivers/media/radio/radio-sf16fmr2.c')
-rw-r--r-- | linux/drivers/media/radio/radio-sf16fmr2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/radio/radio-sf16fmr2.c b/linux/drivers/media/radio/radio-sf16fmr2.c index f4d80c0e4..0bafd3267 100644 --- a/linux/drivers/media/radio/radio-sf16fmr2.c +++ b/linux/drivers/media/radio/radio-sf16fmr2.c @@ -20,9 +20,13 @@ #include <asm/uaccess.h> /* copy to/from user */ #include "compat.h" #include <linux/videodev.h> /* kernel radio structs */ +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include <linux/mutex.h> static struct mutex lock; +#else +static struct semaphore lock; +#endif #undef DEBUG //#define DEBUG 1 |