Commit e3d65c33 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] dvb_net: add support for DVB net node at the media controller



Make the dvb core network support aware of the media controller and
register the corresponding devices.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 738a1b1e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1462,14 +1462,16 @@ static const struct file_operations dvb_net_fops = {
	.llseek = noop_llseek,
};

static struct dvb_device dvbdev_net = {
static const struct dvb_device dvbdev_net = {
	.priv = NULL,
	.users = 1,
	.writers = 1,
#if defined(CONFIG_MEDIA_CONTROLLER_DVB)
	.name = "dvb net",
#endif
	.fops = &dvb_net_fops,
};


void dvb_net_release (struct dvb_net *dvbnet)
{
	int i;