Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1482140 > unrolled thread

[PATCH] gpio: aspeed: Fix missing licence warning in modpost

Started byJoel Stanley <joel@jms.id.au>
First post2016-09-13 06:30 +0200
Last post2016-09-13 06:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] gpio: aspeed: Fix missing licence warning in modpost Joel Stanley <joel@jms.id.au> - 2016-09-13 06:30 +0200

#1482140 — [PATCH] gpio: aspeed: Fix missing licence warning in modpost

FromJoel Stanley <joel@jms.id.au>
Date2016-09-13 06:30 +0200
Subject[PATCH] gpio: aspeed: Fix missing licence warning in modpost
Message-ID<sgNw6-53A-31@gated-at.bofh.it>
Stephen Rothwell <sfr@canb.auug.org.au> wrote:

 > After merging the gpio tree, today's linux-next build (x86_64
 > allmodconfig) produced this warning:
 >
 > WARNING: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-aspeed.o
 >
 > Introduced by commit
 >
 >   361b79119a4b ("gpio: Add Aspeed driver")

Fix it by adding the correct licence.

Fixes: 361b79119a4b ("gpio: Add Aspeed driver")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 drivers/gpio/gpio-aspeed.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c
index 64348a6fb60f..9f7266e05f0a 100644
--- a/drivers/gpio/gpio-aspeed.c
+++ b/drivers/gpio/gpio-aspeed.c
@@ -455,3 +455,4 @@ static struct platform_driver aspeed_gpio_driver = {
 module_platform_driver_probe(aspeed_gpio_driver, aspeed_gpio_probe);
 
 MODULE_DESCRIPTION("Aspeed GPIO Driver");
+MODULE_LICENSE("GPL");
-- 
2.9.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web