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/video/cpia2 | |
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/video/cpia2')
-rw-r--r-- | linux/drivers/media/video/cpia2/cpia2_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cpia2/cpia2_core.c b/linux/drivers/media/video/cpia2/cpia2_core.c index eab48dfd0..ce43a054a 100644 --- a/linux/drivers/media/video/cpia2/cpia2_core.c +++ b/linux/drivers/media/video/cpia2/cpia2_core.c @@ -32,6 +32,7 @@ #include "cpia2.h" #include <linux/slab.h> +#include <linux/mm.h> #include <linux/vmalloc.h> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27) #include <linux/firmware.h> |