public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] max730x: Add license macro
@ 2010-03-10 13:27 Richard Röjfors
  0 siblings, 0 replies; only message in thread
From: Richard Röjfors @ 2010-03-10 13:27 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Wolfram Sang, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

Due to mail client issues, the patch is attached.

According to the header in max730x it is licensed GPLv2.

Add a MODULE_LICENSE to avoid tainting the kernel.

--Richard

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: max730x-license.patch --]
[-- Type: text/x-patch; name="max730x-license.patch", Size: 490 bytes --]

According to the header in max730x it is licensed GPLv2.

Add a MODULE_LICENSE to avoid getting the kernel tainted.

Signed-off-by: Richard Röjfors <richard.rojfors@pelagicore.com>
---
diff --git a/drivers/gpio/max730x.c b/drivers/gpio/max730x.c
index c9bced5..6474577 100644
--- a/drivers/gpio/max730x.c
+++ b/drivers/gpio/max730x.c
@@ -242,3 +242,5 @@ int __devexit __max730x_remove(struct device *dev)
 	return ret;
 }
 EXPORT_SYMBOL_GPL(__max730x_remove);
+
+MODULE_LICENSE("GPL v2");

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-10 13:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10 13:27 [PATCH] max730x: Add license macro Richard Röjfors

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox