aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorYann Droneaud <ydroneaud@opteya.com>2014-01-22 14:25:24 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-23 00:57:17 -0500
commit5ae5e991ee6274cc269dabd536399146be038a0f (patch)
treefc1b5fa4b1d6fe55842942e4d00ee8968819cf13 /net/ieee802154
parent99301ba11cb72f68f4e43e5778106035bd6965c4 (diff)
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 <jukka.rissanen@linux.intel.com> Cc: Alexander Aring <alex.aring@gmail.com> Cc: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Yann Droneaud <ydroneaud@opteya.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154')
-rw-r--r--net/ieee802154/6lowpan_iphc.c3
1 files changed, 3 insertions, 0 deletions
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 @@
52 52
53#include <linux/bitops.h> 53#include <linux/bitops.h>
54#include <linux/if_arp.h> 54#include <linux/if_arp.h>
55#include <linux/module.h>
55#include <linux/netdevice.h> 56#include <linux/netdevice.h>
56#include <net/ipv6.h> 57#include <net/ipv6.h>
57#include <net/af_ieee802154.h> 58#include <net/af_ieee802154.h>
@@ -797,3 +798,5 @@ int lowpan_header_compress(struct sk_buff *skb, struct net_device *dev,
797 return 0; 798 return 0;
798} 799}
799EXPORT_SYMBOL_GPL(lowpan_header_compress); 800EXPORT_SYMBOL_GPL(lowpan_header_compress);
801
802MODULE_LICENSE("GPL");