[PATCH] firmware: sigma.c needs MODULE_LICENSE

From: Randy Dunlap
Date: Thu Jul 21 2011 - 20:01:34 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Fix module tainting message:
sigma: module license 'unspecified' taints kernel.

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: Mike Frysinger <vapier@xxxxxxxxxx>
---
drivers/firmware/sigma.c | 3 +++
1 file changed, 3 insertions(+)

--- lnx-30-rc7.orig/drivers/firmware/sigma.c
+++ lnx-30-rc7/drivers/firmware/sigma.c
@@ -11,6 +11,7 @@
#include <linux/firmware.h>
#include <linux/kernel.h>
#include <linux/i2c.h>
+#include <linux/module.h>
#include <linux/sigma.h>

/* Return: 0==OK, <0==error, =1 ==no more actions */
@@ -113,3 +114,5 @@ int process_sigma_firmware(struct i2c_cl
return ret;
}
EXPORT_SYMBOL(process_sigma_firmware);
+
+MODULE_LICENSE("GPL");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/