diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-21 16:18:18 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-01-11 12:18:52 -0200 |
commit | df2f94e563edcbcb4b8652d05a3789d03b395366 (patch) | |
tree | b7d1a5d6a60219c76347e39726cd6672bee2c3f2 /drivers/media/dvb-core/dvbdev.h | |
parent | 4ae1723af80ce5a23fa5bc6db1534265af0d6107 (diff) | |
download | linux-df2f94e563edcbcb4b8652d05a3789d03b395366.tar.gz linux-df2f94e563edcbcb4b8652d05a3789d03b395366.tar.bz2 linux-df2f94e563edcbcb4b8652d05a3789d03b395366.zip |
[media] dvb: modify core to implement interfaces/entities at MC new gen
The Media Controller New Generation redefines the types for both
interfaces and entities to be used on DVB. Make the needed
changes at the DVB core for all interfaces, entities and
data and interface links to appear in the graph.
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-core/dvbdev.h')
-rw-r--r-- | drivers/media/dvb-core/dvbdev.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/media/dvb-core/dvbdev.h b/drivers/media/dvb-core/dvbdev.h index 8398c8fb02b0..7af8adbb589b 100644 --- a/drivers/media/dvb-core/dvbdev.h +++ b/drivers/media/dvb-core/dvbdev.h @@ -148,9 +148,11 @@ struct dvb_device { const char *name; /* Allocated and filled inside dvbdev.c */ - struct media_entity *entity; struct media_intf_devnode *intf_devnode; - struct media_pad *pads; + + unsigned tsout_num_entities; + struct media_entity *entity, *tsout_entity; + struct media_pad *pads, *tsout_pads; #endif void *priv; @@ -193,7 +195,8 @@ int dvb_register_device(struct dvb_adapter *adap, struct dvb_device **pdvbdev, const struct dvb_device *template, void *priv, - int type); + int type, + int demux_sink_pads); /** * dvb_unregister_device - Unregisters a DVB device |