“1f5b3c3fd2d73d6b30e9ef6dcbf131a791d5cbbd”上不存在“drivers/iommu/irq_remapping.c”
提交 8afd52ef 编写于 作者: M Mauro Carvalho Chehab

[media] dmxdev: add support for demux/dvr nodes at media controller

Make the dvb core demux support aware of the media controller and
register the corresponding devices.
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 c1b31b1e
...@@ -1136,10 +1136,13 @@ static const struct file_operations dvb_demux_fops = { ...@@ -1136,10 +1136,13 @@ static const struct file_operations dvb_demux_fops = {
.llseek = default_llseek, .llseek = default_llseek,
}; };
static struct dvb_device dvbdev_demux = { static const struct dvb_device dvbdev_demux = {
.priv = NULL, .priv = NULL,
.users = 1, .users = 1,
.writers = 1, .writers = 1,
#if defined(CONFIG_MEDIA_CONTROLLER_DVB)
.name = "demux",
#endif
.fops = &dvb_demux_fops .fops = &dvb_demux_fops
}; };
...@@ -1209,13 +1212,15 @@ static const struct file_operations dvb_dvr_fops = { ...@@ -1209,13 +1212,15 @@ static const struct file_operations dvb_dvr_fops = {
.llseek = default_llseek, .llseek = default_llseek,
}; };
static struct dvb_device dvbdev_dvr = { static const struct dvb_device dvbdev_dvr = {
.priv = NULL, .priv = NULL,
.readers = 1, .readers = 1,
.users = 1, .users = 1,
#if defined(CONFIG_MEDIA_CONTROLLER_DVB)
.name = "dvr",
#endif
.fops = &dvb_dvr_fops .fops = &dvb_dvr_fops
}; };
int dvb_dmxdev_init(struct dmxdev *dmxdev, struct dvb_adapter *dvb_adapter) int dvb_dmxdev_init(struct dmxdev *dmxdev, struct dvb_adapter *dvb_adapter)
{ {
int i; int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册