From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from lists.s-osg.org ([54.187.51.154]:60398 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754710AbbBPKxI (ORCPT ); Mon, 16 Feb 2015 05:53:08 -0500 Date: Mon, 16 Feb 2015 08:53:03 -0200 From: Mauro Carvalho Chehab To: Hans Verkuil Cc: Linux Media Mailing List , Mauro Carvalho Chehab , Joe Perches , "David S. Miller" , David Herrmann , Tom Gundersen , Dan Carpenter Subject: Re: [PATCHv4 13/25] [media] dvb_net: add support for DVB net node at the media controller Message-ID: <20150216085303.387bed61@recife.lan> In-Reply-To: <54E1B277.9030802@xs4all.nl> References: <9c7ff55979e714f5ffb23a8a85bc2593d5b9350b.1423867976.git.mchehab@osg.samsung.com> <54E1B277.9030802@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Em Mon, 16 Feb 2015 10:03:51 +0100 Hans Verkuil escreveu: > On 02/13/2015 11:57 PM, Mauro Carvalho Chehab wrote: > > Make the dvb core network support aware of the media controller and > > register the corresponding devices. > > > > Signed-off-by: Mauro Carvalho Chehab Thanks for reviewing this patch series! > > > > diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c > > index 686d3277dad1..40990058b4bc 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", > > I would suggest 'dvb-net' rather than 'dvb net' with a space. That's a personal > preference, though. Works for me. I'll write a patch changing the names to dvb-foo for the DVB nodes. Regards, Mauro