Return-Path: Received: from mail.monom.org ([188.138.9.77]:60672 "EHLO mail.monom.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752309AbeD3Hqk (ORCPT ); Mon, 30 Apr 2018 03:46:40 -0400 From: Daniel Wagner To: stable@vger.kernel.org Cc: Romain Izard , Greg Kroah-Hartman Subject: [PATCH v4.4 2/2] serial: mctrl_gpio: Add missing module license Date: Mon, 30 Apr 2018 09:46:22 +0200 Message-Id: <20180430074622.10114-3-wagi@monom.org> In-Reply-To: <20180430074622.10114-1-wagi@monom.org> References: <20180430074622.10114-1-wagi@monom.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: From: Romain Izard 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 Acked-by: Uwe Kleine-König Signed-off-by: Greg Kroah-Hartman --- 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"); -- 2.14.3