summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-core/dvbdev.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-01-03 19:52:34 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-13 23:10:15 (GMT)
commit4155109aa88ccf478b1d59a63df1969a5f519800 (patch)
treed714be9f954e80f63dbd0cf752cb13aa99a148df /drivers/media/dvb-core/dvbdev.h
parent3bde1b78408b7b1136cd64722b6cd8b2eb70b217 (diff)
downloadlinux-4155109aa88ccf478b1d59a63df1969a5f519800.tar.xz
[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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-core/dvbdev.h b/drivers/media/dvb-core/dvbdev.h
index 464067c..467c131 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);