summaryrefslogtreecommitdiffstats
path: root/net/802/tr.c
diff options
context:
space:
mode:
authorMeelis Roos <mroos@linux.ee>2009-03-04 08:48:50 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-04 08:48:50 +0100
commit4222474519ff5b31a526dfa1da7aa4b0e38bef5c (patch)
tree58ed8f941b3109eb1bdad24c17c7f83b303f615a /net/802/tr.c
parentdm9601: new vendor/product IDs (diff)
downloadlinux-4222474519ff5b31a526dfa1da7aa4b0e38bef5c.tar.xz
linux-4222474519ff5b31a526dfa1da7aa4b0e38bef5c.zip
net: fix tokenring license
Currently, modular tokenring ("tr") lacks a license and fails to load: tr: module license 'unspecified' taints kernel. tr: Unknown symbol proc_net_fops_create Beacuse of this, no tokenring driver can load if it depends on modular tr. Fix this by adding GPL module license as it is in the kernel. With this fix, tr module loads fine and tms380 driver also loads. Well, it does'nt work but that's a different bug. Signed-off-by: Meelis Roos <mroos@linux.ee> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/802/tr.c')
-rw-r--r--net/802/tr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/802/tr.c b/net/802/tr.c
index 158150fee462..f47ae289d83b 100644
--- a/net/802/tr.c
+++ b/net/802/tr.c
@@ -668,3 +668,5 @@ module_init(rif_init);
EXPORT_SYMBOL(tr_type_trans);
EXPORT_SYMBOL(alloc_trdev);
+
+MODULE_LICENSE("GPL");