diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-08 17:40:58 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-08 17:40:58 +0200 |
commit | e9314ad63401c89bffe82b165eb7ae630c05a75d (patch) | |
tree | b31a77f9ccfea646348025aae7452e900e61a761 /linux/drivers/media/video/et61x251 | |
parent | d784aba6717da44bfef18007146f6d00280e39fe (diff) | |
download | mediapointer-dvb-s2-e9314ad63401c89bffe82b165eb7ae630c05a75d.tar.gz mediapointer-dvb-s2-e9314ad63401c89bffe82b165eb7ae630c05a75d.tar.bz2 |
v4l-dvb: remove support for kernels < 2.6.16
From: Hans Verkuil <hverkuil@xs4all.nl>
Phase 4 removes the compatibility support for kernels < 2.6.16.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/et61x251')
-rw-r--r-- | linux/drivers/media/video/et61x251/et61x251.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/et61x251/et61x251.h b/linux/drivers/media/video/et61x251/et61x251.h index 64ff5de0d..d39eabc9d 100644 --- a/linux/drivers/media/video/et61x251/et61x251.h +++ b/linux/drivers/media/video/et61x251/et61x251.h @@ -34,9 +34,7 @@ #include <linux/types.h> #include <linux/param.h> #include <linux/rwsem.h> -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include <linux/mutex.h> -#endif #include <linux/stddef.h> #include <linux/string.h> #include <linux/kref.h> @@ -167,11 +165,7 @@ struct et61x251_device { u8 users; struct completion probe; -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) struct mutex open_mutex, fileop_mutex; -#else - struct semaphore open_mutex, fileop_mutex; -#endif spinlock_t queue_lock; wait_queue_head_t wait_open, wait_frame, wait_stream; }; |