Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
5b89ecf9
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
170
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看板
提交
5b89ecf9
编写于
6月 18, 2011
作者:
M
Mauro Carvalho Chehab
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[media] em28xx: Allow to compile it without RC/input support
Signed-off-by:
N
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
上级
0f8a61fc
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
30 addition
and
3 deletion
+30
-3
drivers/media/video/em28xx/Kconfig
drivers/media/video/em28xx/Kconfig
+9
-1
drivers/media/video/em28xx/Makefile
drivers/media/video/em28xx/Makefile
+4
-2
drivers/media/video/em28xx/em28xx.h
drivers/media/video/em28xx/em28xx.h
+17
-0
未找到文件。
drivers/media/video/em28xx/Kconfig
浏览文件 @
5b89ecf9
...
...
@@ -3,7 +3,6 @@ config VIDEO_EM28XX
depends on VIDEO_DEV && I2C
select VIDEO_TUNER
select VIDEO_TVEEPROM
depends on RC_CORE
select VIDEOBUF_VMALLOC
select VIDEO_SAA711X if VIDEO_HELPER_CHIPS_AUTO
select VIDEO_TVP5150 if VIDEO_HELPER_CHIPS_AUTO
...
...
@@ -44,3 +43,12 @@ config VIDEO_EM28XX_DVB
---help---
This adds support for DVB cards based on the
Empiatech em28xx chips.
config VIDEO_EM28XX_RC
bool "EM28XX Remote Controller support"
depends on RC_CORE
depends on VIDEO_EM28XX
depends on !(RC_CORE=m && VIDEO_EM28XX=y)
default y
---help---
Enables Remote Controller support on em28xx driver.
drivers/media/video/em28xx/Makefile
浏览文件 @
5b89ecf9
em28xx-objs
:=
em28xx-video.o em28xx-i2c.o em28xx-cards.o em28xx-core.o
\
em28xx-input.o em28xx-vbi.o
em28xx-y
:=
em28xx-video.o em28xx-i2c.o em28xx-cards.o
em28xx-y
+=
em28xx-core.o em28xx-vbi.o
em28xx-$(CONFIG_VIDEO_EM28XX_RC)
+=
em28xx-input.o
em28xx-alsa-objs
:=
em28xx-audio.o
...
...
drivers/media/video/em28xx/em28xx.h
浏览文件 @
5b89ecf9
...
...
@@ -697,6 +697,9 @@ int em28xx_tuner_callback(void *ptr, int component, int command, int arg);
void
em28xx_release_resources
(
struct
em28xx
*
dev
);
/* Provided by em28xx-input.c */
#ifdef CONFIG_VIDEO_EM28XX_RC
int
em28xx_get_key_terratec
(
struct
IR_i2c
*
ir
,
u32
*
ir_key
,
u32
*
ir_raw
);
int
em28xx_get_key_em_haup
(
struct
IR_i2c
*
ir
,
u32
*
ir_key
,
u32
*
ir_raw
);
int
em28xx_get_key_pinnacle_usb_grey
(
struct
IR_i2c
*
ir
,
u32
*
ir_key
,
...
...
@@ -709,6 +712,20 @@ void em28xx_deregister_snapshot_button(struct em28xx *dev);
int
em28xx_ir_init
(
struct
em28xx
*
dev
);
int
em28xx_ir_fini
(
struct
em28xx
*
dev
);
#else
#define em28xx_get_key_terratec NULL
#define em28xx_get_key_em_haup NULL
#define em28xx_get_key_pinnacle_usb_grey NULL
#define em28xx_get_key_winfast_usbii_deluxe NULL
static
inline
void
em28xx_register_snapshot_button
(
struct
em28xx
*
dev
)
{}
static
inline
void
em28xx_deregister_snapshot_button
(
struct
em28xx
*
dev
)
{}
static
inline
int
em28xx_ir_init
(
struct
em28xx
*
dev
)
{
return
0
;
}
static
inline
int
em28xx_ir_fini
(
struct
em28xx
*
dev
)
{
return
0
;
}
#endif
/* Provided by em28xx-vbi.c */
extern
struct
videobuf_queue_ops
em28xx_vbi_qops
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录