linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pinctrl: mcp23s08: add module license
@ 2020-04-17  9:21 Jason Yan
  2020-04-17 10:21 ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Yan @ 2020-04-17  9:21 UTC (permalink / raw)
  To: linus.walleij, andriy.shevchenko, linux-gpio, linux-kernel; +Cc: Jason Yan

Fix the following build warning:

WARNING: modpost: missing MODULE_LICENSE() in
drivers/pinctrl/pinctrl-mcp23s08.o
see include/linux/module.h for more information

Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 drivers/pinctrl/pinctrl-mcp23s08.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-mcp23s08.c b/drivers/pinctrl/pinctrl-mcp23s08.c
index cb545557dcd4..151931b593f6 100644
--- a/drivers/pinctrl/pinctrl-mcp23s08.c
+++ b/drivers/pinctrl/pinctrl-mcp23s08.c
@@ -658,3 +658,4 @@ int mcp23s08_probe_one(struct mcp23s08 *mcp, struct device *dev,
 	return ret;
 }
 EXPORT_SYMBOL_GPL(mcp23s08_probe_one);
+MODULE_LICENSE("GPL");
-- 
2.21.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] pinctrl: mcp23s08: add module license
  2020-04-17  9:21 [PATCH] pinctrl: mcp23s08: add module license Jason Yan
@ 2020-04-17 10:21 ` Linus Walleij
  2020-04-17 10:53   ` Andy Shevchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2020-04-17 10:21 UTC (permalink / raw)
  To: Jason Yan; +Cc: Andy Shevchenko, open list:GPIO SUBSYSTEM, linux-kernel

On Fri, Apr 17, 2020 at 10:55 AM Jason Yan <yanaijie@huawei.com> wrote:

> Fix the following build warning:
>
> WARNING: modpost: missing MODULE_LICENSE() in
> drivers/pinctrl/pinctrl-mcp23s08.o
> see include/linux/module.h for more information
>
> Signed-off-by: Jason Yan <yanaijie@huawei.com>

Thanks, patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] pinctrl: mcp23s08: add module license
  2020-04-17 10:21 ` Linus Walleij
@ 2020-04-17 10:53   ` Andy Shevchenko
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Shevchenko @ 2020-04-17 10:53 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Jason Yan, Andy Shevchenko, open list:GPIO SUBSYSTEM, linux-kernel

On Fri, Apr 17, 2020 at 1:25 PM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> On Fri, Apr 17, 2020 at 10:55 AM Jason Yan <yanaijie@huawei.com> wrote:
>
> > Fix the following build warning:
> >
> > WARNING: modpost: missing MODULE_LICENSE() in
> > drivers/pinctrl/pinctrl-mcp23s08.o
> > see include/linux/module.h for more information
> >
> > Signed-off-by: Jason Yan <yanaijie@huawei.com>
>
> Thanks, patch applied.

Thanks all! And sorry I somehow missed it.

>
> Yours,
> Linus Walleij



-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-17 10:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17  9:21 [PATCH] pinctrl: mcp23s08: add module license Jason Yan
2020-04-17 10:21 ` Linus Walleij
2020-04-17 10:53   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).