diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-01-02 22:53:58 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-13 21:10:13 -0200 |
commit | e3d65c33e31db12856300cf8015428daae19245a (patch) | |
tree | e095289ced084aef2d82f086461225698def7f48 /drivers/media/dvb-core | |
parent | 738a1b1e1355433ff29e20774df3d89355bbac9f (diff) | |
download | op-kernel-dev-e3d65c33e31db12856300cf8015428daae19245a.zip op-kernel-dev-e3d65c33e31db12856300cf8015428daae19245a.tar.gz |
[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: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-core')
-rw-r--r-- | drivers/media/dvb-core/dvb_net.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c index 686d327..4099005 100644 --- a/drivers/media/dvb-core/dvb_net.c +++ b/drivers/media/dvb-core/dvb_net.c @@ -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; |