diff options
Diffstat (limited to 'linux/drivers/media/radio/radio-typhoon.c')
-rw-r--r-- | linux/drivers/media/radio/radio-typhoon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/radio/radio-typhoon.c b/linux/drivers/media/radio/radio-typhoon.c index 541072e7c..02cc2c093 100644 --- a/linux/drivers/media/radio/radio-typhoon.c +++ b/linux/drivers/media/radio/radio-typhoon.c @@ -60,7 +60,11 @@ struct typhoon_device { int muted; unsigned long curfreq; unsigned long mutefreq; +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) struct mutex lock; +#else + struct semaphore lock; +#endif }; static void typhoon_setvol_generic(struct typhoon_device *dev, int vol); |