Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
7e0a16f6
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
7e0a16f6
编写于
3月 10, 2009
作者:
M
Mauro Carvalho Chehab
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
V4L/DVB (10907): avoid loading the entire videodev.h header on V4L2 drivers
Signed-off-by:
N
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
上级
42d12f5a
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
27 addition
and
27 deletion
+27
-27
drivers/media/video/bt8xx/bttv.h
drivers/media/video/bt8xx/bttv.h
+1
-1
drivers/media/video/bt8xx/bttvp.h
drivers/media/video/bt8xx/bttvp.h
+0
-1
drivers/media/video/cpia2/cpia2_v4l.c
drivers/media/video/cpia2/cpia2_v4l.c
+1
-0
drivers/media/video/cx23885/cx23885-video.c
drivers/media/video/cx23885/cx23885-video.c
+0
-5
drivers/media/video/cx88/cx88-video.c
drivers/media/video/cx88/cx88-video.c
+0
-5
drivers/media/video/msp3400-driver.c
drivers/media/video/msp3400-driver.c
+1
-1
drivers/media/video/ov7670.c
drivers/media/video/ov7670.c
+1
-1
drivers/media/video/saa7134/saa7134-video.c
drivers/media/video/saa7134/saa7134-video.c
+0
-5
drivers/media/video/saa7146.h
drivers/media/video/saa7146.h
+0
-2
drivers/media/video/v4l2-ioctl.c
drivers/media/video/v4l2-ioctl.c
+1
-0
drivers/media/video/vivi.c
drivers/media/video/vivi.c
+0
-4
drivers/media/video/w9966.c
drivers/media/video/w9966.c
+1
-1
drivers/media/video/w9968cf.c
drivers/media/video/w9968cf.c
+1
-0
drivers/media/video/zoran/zoran_driver.c
drivers/media/video/zoran/zoran_driver.c
+1
-1
include/linux/videodev.h
include/linux/videodev.h
+18
-0
include/media/v4l2-ioctl.h
include/media/v4l2-ioctl.h
+1
-0
未找到文件。
drivers/media/video/bt8xx/bttv.h
浏览文件 @
7e0a16f6
...
...
@@ -14,7 +14,7 @@
#ifndef _BTTV_H_
#define _BTTV_H_
#include <linux/videodev.h>
#include <linux/videodev
2
.h>
#include <linux/i2c.h>
#include <media/ir-common.h>
#include <media/ir-kbd-i2c.h>
...
...
drivers/media/video/bt8xx/bttvp.h
浏览文件 @
7e0a16f6
...
...
@@ -32,7 +32,6 @@
#include <linux/wait.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/videodev.h>
#include <linux/pci.h>
#include <linux/input.h>
#include <linux/mutex.h>
...
...
drivers/media/video/cpia2/cpia2_v4l.c
浏览文件 @
7e0a16f6
...
...
@@ -37,6 +37,7 @@
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/videodev.h>
#include <media/v4l2-ioctl.h>
#include "cpia2.h"
...
...
drivers/media/video/cx23885/cx23885-video.c
浏览文件 @
7e0a16f6
...
...
@@ -35,11 +35,6 @@
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#ifdef CONFIG_VIDEO_V4L1_COMPAT
/* Include V4L1 specific functions. Should be removed soon */
#include <linux/videodev.h>
#endif
MODULE_DESCRIPTION
(
"v4l2 driver module for cx23885 based TV cards"
);
MODULE_AUTHOR
(
"Steven Toth <stoth@linuxtv.org>"
);
MODULE_LICENSE
(
"GPL"
);
...
...
drivers/media/video/cx88/cx88-video.c
浏览文件 @
7e0a16f6
...
...
@@ -41,11 +41,6 @@
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#ifdef CONFIG_VIDEO_V4L1_COMPAT
/* Include V4L1 specific functions. Should be removed soon */
#include <linux/videodev.h>
#endif
MODULE_DESCRIPTION
(
"v4l2 driver module for cx2388x based TV cards"
);
MODULE_AUTHOR
(
"Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]"
);
MODULE_LICENSE
(
"GPL"
);
...
...
drivers/media/video/msp3400-driver.c
浏览文件 @
7e0a16f6
...
...
@@ -53,7 +53,7 @@
#include <linux/i2c.h>
#include <linux/kthread.h>
#include <linux/freezer.h>
#include <linux/videodev
2
.h>
#include <linux/videodev.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-i2c-drv-legacy.h>
...
...
drivers/media/video/ov7670.c
浏览文件 @
7e0a16f6
...
...
@@ -14,7 +14,7 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/videodev.h>
#include <linux/videodev
2
.h>
#include <media/v4l2-common.h>
#include <media/v4l2-chip-ident.h>
#include <linux/i2c.h>
...
...
drivers/media/video/saa7134/saa7134-video.c
浏览文件 @
7e0a16f6
...
...
@@ -31,11 +31,6 @@
#include "saa7134.h"
#include <media/v4l2-common.h>
#ifdef CONFIG_VIDEO_V4L1_COMPAT
/* Include V4L1 specific functions. Should be removed soon */
#include <linux/videodev.h>
#endif
/* ------------------------------------------------------------------ */
unsigned
int
video_debug
;
...
...
drivers/media/video/saa7146.h
浏览文件 @
7e0a16f6
...
...
@@ -25,8 +25,6 @@
#include <linux/types.h>
#include <linux/wait.h>
#include <linux/videodev.h>
#ifndef O_NONCAP
#define O_NONCAP O_TRUNC
#endif
...
...
drivers/media/video/v4l2-ioctl.c
浏览文件 @
7e0a16f6
...
...
@@ -17,6 +17,7 @@
#include <linux/kernel.h>
#define __OLD_VIDIOC_
/* To allow fixing old calls */
#include <linux/videodev.h>
#include <linux/videodev2.h>
#ifdef CONFIG_VIDEO_V4L1
...
...
drivers/media/video/vivi.c
浏览文件 @
7e0a16f6
...
...
@@ -28,10 +28,6 @@
#include <linux/mutex.h>
#include <linux/videodev2.h>
#include <linux/dma-mapping.h>
#ifdef CONFIG_VIDEO_V4L1_COMPAT
/* Include V4L1 specific functions. Should be removed soon */
#include <linux/videodev.h>
#endif
#include <linux/interrupt.h>
#include <linux/kthread.h>
#include <linux/highmem.h>
...
...
drivers/media/video/w9966.c
浏览文件 @
7e0a16f6
...
...
@@ -57,7 +57,7 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/videodev
2
.h>
#include <linux/videodev.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include <linux/parport.h>
...
...
drivers/media/video/w9968cf.c
浏览文件 @
7e0a16f6
...
...
@@ -42,6 +42,7 @@
#include <asm/page.h>
#include <asm/uaccess.h>
#include <linux/page-flags.h>
#include <linux/videodev.h>
#include <media/v4l2-ioctl.h>
#include "w9968cf.h"
...
...
drivers/media/video/zoran/zoran_driver.c
浏览文件 @
7e0a16f6
...
...
@@ -59,7 +59,7 @@
#include <linux/spinlock.h>
#include <linux/videodev
2
.h>
#include <linux/videodev.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include "videocodec.h"
...
...
include/linux/videodev.h
浏览文件 @
7e0a16f6
...
...
@@ -16,6 +16,23 @@
#include <linux/ioctl.h>
#include <linux/videodev2.h>
#if defined(__MIN_V4L1) && defined (__KERNEL__)
/*
* Used by those V4L2 core functions that need a minimum V4L1 support,
* in order to allow V4L1 Compatibilty code compilation.
*/
struct
video_mbuf
{
int
size
;
/* Total memory to map */
int
frames
;
/* Frames */
int
offsets
[
VIDEO_MAX_FRAME
];
};
#define VIDIOCGMBUF _IOR('v',20, struct video_mbuf)
/* Memory map buffer info */
#else
#if defined(CONFIG_VIDEO_V4L1_COMPAT) || !defined (__KERNEL__)
#define VID_TYPE_CAPTURE 1
/* Can capture */
...
...
@@ -312,6 +329,7 @@ struct video_code
#define VID_PLAY_END_MARK 14
#endif
/* CONFIG_VIDEO_V4L1_COMPAT */
#endif
/* __MIN_V4L1 */
#endif
/* __LINUX_VIDEODEV_H */
...
...
include/media/v4l2-ioctl.h
浏览文件 @
7e0a16f6
...
...
@@ -15,6 +15,7 @@
#include <linux/mutex.h>
#include <linux/compiler.h>
/* need __user */
#ifdef CONFIG_VIDEO_V4L1_COMPAT
#define __MIN_V4L1
#include <linux/videodev.h>
#else
#include <linux/videodev2.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录