diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-07-16 16:13:28 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-07-16 16:13:28 +0000 |
commit | 64c0538be64e95fafbb6a9c8eb8be0ee79a8ed71 (patch) | |
tree | 1883e92ab822de216bfc539efa3deede89b92ca5 /linux/drivers/media/dvb/cinergyT2/cinergyT2.c | |
parent | a0ba7ba1dd99d05426eb932f1f3fa27c0f3a33f8 (diff) | |
download | mediapointer-dvb-s2-64c0538be64e95fafbb6a9c8eb8be0ee79a8ed71.tar.gz mediapointer-dvb-s2-64c0538be64e95fafbb6a9c8eb8be0ee79a8ed71.tar.bz2 |
Remove all #include <linux/version.h> and all references
to LINUX_VERSION_CODE and KERNEL_VERSION. Based on
patch by Olaf Hering.
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/cinergyT2/cinergyT2.c')
-rw-r--r-- | linux/drivers/media/dvb/cinergyT2/cinergyT2.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c index bb63dc5db..150032f5f 100644 --- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c @@ -25,7 +25,6 @@ #include <linux/config.h> #include <linux/init.h> #include <linux/module.h> -#include <linux/version.h> #include <linux/slab.h> #include <linux/usb.h> #include <linux/pci.h> @@ -36,13 +35,6 @@ #include "dvb_demux.h" #include "dvb_net.h" -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) -static inline int remap_pfn_range(struct vm_area_struct *vma, unsigned long uvaddr, - unsigned long paddr, unsigned long size, pgprot_t prot) -{ - return remap_page_range(vma, uvaddr, paddr << PAGE_SHIFT, size, prot); -} -#endif #ifdef CONFIG_DVB_CINERGYT2_TUNING #define STREAM_URB_COUNT (CONFIG_DVB_CINERGYT2_STREAM_URB_COUNT) |