diff options
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-ioread.c')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-ioread.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-ioread.c b/linux/drivers/media/video/pvrusb2/pvrusb2-ioread.c index fb3ad639f..fa599a1bf 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-ioread.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-ioread.c @@ -23,11 +23,7 @@ #include <linux/errno.h> #include <linux/string.h> #include <linux/slab.h> -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16) #include <linux/mutex.h> -#else -#include <asm/semaphore.h> -#endif #include <asm/uaccess.h> #include "compat.h" @@ -51,11 +47,7 @@ struct pvr2_ioread { char *c_data_ptr; unsigned int c_data_len; unsigned int c_data_offs; -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16) struct mutex mutex; -#else - struct semaphore mutex; -#endif }; static int pvr2_ioread_init(struct pvr2_ioread *cp) |