From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752709AbcB2Itv (ORCPT ); Mon, 29 Feb 2016 03:49:51 -0500 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:58717 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751376AbcB2Itq (ORCPT ); Mon, 29 Feb 2016 03:49:46 -0500 Date: Mon, 29 Feb 2016 09:49:40 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Romain Izard Cc: Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] serial: mctrl_gpio: Add missing module license Message-ID: <20160229084940.GF2613@pengutronix.de> References: <1456239294-28342-1-git-send-email-romain.izard.pro@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1456239294-28342-1-git-send-email-romain.izard.pro@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Romain, On Tue, Feb 23, 2016 at 03:54:54PM +0100, Romain Izard wrote: > As the mctrl_gpio driver can be built as a module, it needs to have its > license specified with MODULE_LICENSE. Otherwise, it cannot access > required symbols exported through EXPORT_SYMBOL_GPL. > > Signed-off-by: Romain Izard > --- > drivers/tty/serial/serial_mctrl_gpio.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/tty/serial/serial_mctrl_gpio.c b/drivers/tty/serial/serial_mctrl_gpio.c > index 226ad23b136c..02147361eaa9 100644 > --- a/drivers/tty/serial/serial_mctrl_gpio.c > +++ b/drivers/tty/serial/serial_mctrl_gpio.c > @@ -20,6 +20,7 @@ > #include > #include > #include > +#include > > #include "serial_mctrl_gpio.h" > > @@ -249,3 +250,5 @@ void mctrl_gpio_disable_ms(struct mctrl_gpios *gpios) > } > } > EXPORT_SYMBOL_GPL(mctrl_gpio_disable_ms); > + > +MODULE_LICENSE("GPL"); Acked-by: Uwe Kleine-König -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |