Return-path: Received: from lb3-smtp-cloud3.xs4all.net ([194.109.24.30]:58790 "EHLO lb3-smtp-cloud3.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754745AbbG1HOT (ORCPT ); Tue, 28 Jul 2015 03:14:19 -0400 Message-ID: <55B72BBE.8050902@xs4all.nl> Date: Tue, 28 Jul 2015 09:14:06 +0200 From: Hans Verkuil MIME-Version: 1.0 To: Mike Looijmans , linux-media@vger.kernel.org CC: dragos.bogdan@analog.com, mchehab@osg.samsung.com, lars@metafoo.de Subject: Re: [PATCH] [media] imageon-bridge: Add module license information References: <1438061985-2786-1-git-send-email-mike.looijmans@topic.nl> In-Reply-To: <1438061985-2786-1-git-send-email-mike.looijmans@topic.nl> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On 07/28/2015 07:39 AM, Mike Looijmans wrote: > Comment header specifies GPL-2, so add a MODULE_LICENSE("GPL v2"). > This fixes the driver failing to load when built as module: > imageon_bridge: module license 'unspecified' taints kernel. > imageon_bridge: Unknown symbol ... > As an extra service, also add a description. > > Signed-off-by: Mike Looijmans > --- > drivers/media/platform/imageon-bridge.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/media/platform/imageon-bridge.c b/drivers/media/platform/imageon-bridge.c > index 9550695..a69b6da 100644 > --- a/drivers/media/platform/imageon-bridge.c > +++ b/drivers/media/platform/imageon-bridge.c > @@ -317,3 +317,6 @@ static struct platform_driver imageon_bridge_driver = { > .remove = imageon_bridge_remove, > }; > module_platform_driver(imageon_bridge_driver); > + > +MODULE_DESCRIPTION("Imageon video bridge"); > +MODULE_LICENSE("GPL v2"); > Lovely, but unfortunately the imageon driver is not part of the official linux kernel. So we can't do anything with this patch. Regards, Hans