diff mbox

pinctrl: pxa2xx: add MODULE_LICENSE

Message ID 20171202094015.11696-1-dja@axtens.net (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Axtens Dec. 2, 2017, 9:40 a.m. UTC
This fixes the following warning on an allmodconfig build:
WARNING: modpost: missing MODULE_LICENSE() in drivers/pinctrl/pxa/pinctrl-pxa2xx.o

This matches the license in the header.

Signed-off-by: Daniel Axtens <dja@axtens.net>
---
 drivers/pinctrl/pxa/pinctrl-pxa2xx.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Linus Walleij Dec. 2, 2017, 4:02 p.m. UTC | #1
On Sat, Dec 2, 2017 at 10:40 AM, Daniel Axtens <dja@axtens.net> wrote:

> This fixes the following warning on an allmodconfig build:
> WARNING: modpost: missing MODULE_LICENSE() in drivers/pinctrl/pxa/pinctrl-pxa2xx.o
>
> This matches the license in the header.
>
> Signed-off-by: Daniel Axtens <dja@axtens.net>

Somebody patches this too. Sorry!

Thanks anyway!

Yours,
Linus Walleij
Daniel Axtens Dec. 3, 2017, 1:03 a.m. UTC | #2
Linus Walleij <linus.walleij@linaro.org> writes:

> On Sat, Dec 2, 2017 at 10:40 AM, Daniel Axtens <dja@axtens.net> wrote:
>
>> This fixes the following warning on an allmodconfig build:
>> WARNING: modpost: missing MODULE_LICENSE() in drivers/pinctrl/pxa/pinctrl-pxa2xx.o
>>
>> This matches the license in the header.
>>
>> Signed-off-by: Daniel Axtens <dja@axtens.net>
>
> Somebody patches this too. Sorry!
No worries, apologies for the noise!

Regards,
Daniel
>
> Thanks anyway!
>
> Yours,
> Linus Walleij
diff mbox

Patch

diff --git a/drivers/pinctrl/pxa/pinctrl-pxa2xx.c b/drivers/pinctrl/pxa/pinctrl-pxa2xx.c
index 866aa3ce1ac9..3d67fca5ae21 100644
--- a/drivers/pinctrl/pxa/pinctrl-pxa2xx.c
+++ b/drivers/pinctrl/pxa/pinctrl-pxa2xx.c
@@ -436,3 +436,5 @@  int pxa2xx_pinctrl_exit(struct platform_device *pdev)
 	return 0;
 }
 EXPORT_SYMBOL_GPL(pxa2xx_pinctrl_exit);
+
+MODULE_LICENSE("GPL v2");