summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeelis Roos <mroos@linux.ee>2009-03-03 23:48:50 -0800
committerDavid S. Miller <davem@davemloft.net>2009-03-03 23:48:50 -0800
commit4222474519ff5b31a526dfa1da7aa4b0e38bef5c (patch)
tree58ed8f941b3109eb1bdad24c17c7f83b303f615a
parenta1a69c8db7f988f903349442a7538d21b56c38e9 (diff)
downloadop-kernel-dev-4222474519ff5b31a526dfa1da7aa4b0e38bef5c.zip
op-kernel-dev-4222474519ff5b31a526dfa1da7aa4b0e38bef5c.tar.gz
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>
-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 158150f..f47ae28 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");
OpenPOWER on IntegriCloud