From 5ae5e991ee6274cc269dabd536399146be038a0f Mon Sep 17 00:00:00 2001 From: Yann Droneaud Date: Wed, 22 Jan 2014 20:25:24 +0100 Subject: 6lowpan: add a license to 6lowpan_iphc module Since commit 8df8c56a5abc, 6lowpan_iphc is a module of its own. Unfortunately, it lacks some infrastructure to behave like a good kernel citizen: kernel: 6lowpan_iphc: module license 'unspecified' taints kernel. kernel: Disabling lock debugging due to kernel taint This patch adds the basic MODULE_LICENSE(); with GPL license: the code was copied from net/ieee802154/6lowpan.c which is GPL and the module exports symbol with EXPORT_SYMBOL_GPL();. Cc: Jukka Rissanen Cc: Alexander Aring Cc: Marcel Holtmann Signed-off-by: Yann Droneaud Acked-by: Marcel Holtmann Signed-off-by: David S. Miller --- net/ieee802154/6lowpan_iphc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net/ieee802154') diff --git a/net/ieee802154/6lowpan_iphc.c b/net/ieee802154/6lowpan_iphc.c index 11840f9e46da..083f905bf109 100644 --- a/net/ieee802154/6lowpan_iphc.c +++ b/net/ieee802154/6lowpan_iphc.c @@ -52,6 +52,7 @@ #include #include +#include #include #include #include @@ -797,3 +798,5 @@ int lowpan_header_compress(struct sk_buff *skb, struct net_device *dev, return 0; } EXPORT_SYMBOL_GPL(lowpan_header_compress); + +MODULE_LICENSE("GPL"); -- cgit v1.2.3-59-g8ed1b