diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-01-03 16:52:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-13 21:10:15 -0200 |
commit | 4155109aa88ccf478b1d59a63df1969a5f519800 (patch) | |
tree | d714be9f954e80f63dbd0cf752cb13aa99a148df /drivers/media/dvb-core/dvbdev.h | |
parent | 3bde1b78408b7b1136cd64722b6cd8b2eb70b217 (diff) | |
download | blackbird-obmc-linux-4155109aa88ccf478b1d59a63df1969a5f519800.tar.gz blackbird-obmc-linux-4155109aa88ccf478b1d59a63df1969a5f519800.zip |
[media] dvbdev: add a function to create DVB media graph
We need to create a DVB graph, linking the several DVB devnodes.
Add such function. Please notice that this helper function
doesn't take into account devices with multiple DVB adapters
and frontends.
For devices with multiple adapters, they should either create two
different media controller instances or to improve this function
to take the adapter ID into account.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-core/dvbdev.h b/drivers/media/dvb-core/dvbdev.h index 464067c43a35..467c1311bd4c 100644 --- a/drivers/media/dvb-core/dvbdev.h +++ b/drivers/media/dvb-core/dvbdev.h @@ -122,6 +122,7 @@ extern int dvb_register_device (struct dvb_adapter *adap, int type); extern void dvb_unregister_device (struct dvb_device *dvbdev); +void dvb_create_media_graph(struct media_device *mdev); extern int dvb_generic_open (struct inode *inode, struct file *file); extern int dvb_generic_release (struct inode *inode, struct file *file); |