diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-25 12:39:54 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-25 12:39:54 +0200 |
commit | ddb6d77848776ec7f6b3135f2dfa5fbc1544b003 (patch) | |
tree | e4cdb2a470f816c0d4d5490fd011a1d8beb9bb05 /linux/drivers/media/common | |
parent | c201b83b7aab962a7369b64863ba52ec2b973659 (diff) | |
download | mediapointer-dvb-s2-ddb6d77848776ec7f6b3135f2dfa5fbc1544b003.tar.gz mediapointer-dvb-s2-ddb6d77848776ec7f6b3135f2dfa5fbc1544b003.tar.bz2 |
videodev: remove some CONFIG_VIDEO_V4L1_COMPAT code from v4l2-dev.h
From: Hans Verkuil <hverkuil@xs4all.nl>
The video_device_create_file and video_device_remove_file functions can be
removed from v4l2-dev.h, removing the dependency on videodev.h in v4l2-dev.h.
Also removed a few more videodev.h includes that should have been videodev2.h.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/common')
-rw-r--r-- | linux/drivers/media/common/tuners/tda9887.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/common/tuners/tuner-simple.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/common/tuners/tda9887.c b/linux/drivers/media/common/tuners/tda9887.c index 61a56026d..d588c5d88 100644 --- a/linux/drivers/media/common/tuners/tda9887.c +++ b/linux/drivers/media/common/tuners/tda9887.c @@ -6,12 +6,12 @@ #include <linux/errno.h> #include <linux/slab.h> #include <linux/delay.h> -#include "compat.h" -#include <linux/videodev.h> +#include <linux/videodev2.h> #include <media/v4l2-common.h> #include <media/tuner.h> #include "tuner-i2c.h" #include "tda9887.h" +#include "compat.h" /* Chips: diff --git a/linux/drivers/media/common/tuners/tuner-simple.c b/linux/drivers/media/common/tuners/tuner-simple.c index a029cf8f5..f352af87b 100644 --- a/linux/drivers/media/common/tuners/tuner-simple.c +++ b/linux/drivers/media/common/tuners/tuner-simple.c @@ -7,7 +7,7 @@ #include <linux/delay.h> #include <linux/i2c.h> #include "compat.h" -#include <linux/videodev.h> +#include <linux/videodev2.h> #include <media/tuner.h> #include <media/v4l2-common.h> #include <media/tuner-types.h> |