diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-17 16:30:11 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-17 16:30:11 +0200 |
commit | 3d482117ca1f1846a019f59f91466eb5f3306671 (patch) | |
tree | b1cb7a2b2af2cde6fac52e36559bd87b495cd901 /linux/drivers/media/video | |
parent | b5125f57f3d64672a4bc21dfc38d9b589448238d (diff) | |
download | mediapointer-dvb-s2-3d482117ca1f1846a019f59f91466eb5f3306671.tar.gz mediapointer-dvb-s2-3d482117ca1f1846a019f59f91466eb5f3306671.tar.bz2 |
gspca/tea575x-tuner: fix compilation for kernels <= 2.6.17
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/gspca/gspca.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/gspca/gspca.c b/linux/drivers/media/video/gspca/gspca.c index 4d65b1be4..697202d47 100644 --- a/linux/drivers/media/video/gspca/gspca.c +++ b/linux/drivers/media/video/gspca/gspca.c @@ -30,7 +30,11 @@ #include <linux/pagemap.h> #include <linux/io.h> #include <asm/page.h> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) +#include <asm/uaccess.h> +#else #include <linux/uaccess.h> +#endif #include <linux/jiffies.h> #include "gspca.h" |