diff options
Diffstat (limited to 'linux/drivers/media/radio/radio-aztech.c')
-rw-r--r-- | linux/drivers/media/radio/radio-aztech.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/radio/radio-aztech.c b/linux/drivers/media/radio/radio-aztech.c index 3aa679a47..4a06891d8 100644 --- a/linux/drivers/media/radio/radio-aztech.c +++ b/linux/drivers/media/radio/radio-aztech.c @@ -43,7 +43,11 @@ static int io = CONFIG_RADIO_AZTECH_PORT; static int radio_nr = -1; static int radio_wait_time = 1000; +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) static struct mutex lock; +#else +static struct semaphore lock; +#endif struct az_device { |