aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeelis Roos <mroos@linux.ee>2009-03-04 02:48:50 -0500
committerDavid S. Miller <davem@davemloft.net>2009-03-04 02:48:50 -0500
commit4222474519ff5b31a526dfa1da7aa4b0e38bef5c (patch)
tree58ed8f941b3109eb1bdad24c17c7f83b303f615a
parenta1a69c8db7f988f903349442a7538d21b56c38e9 (diff)
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 158150fee462..f47ae289d83b 100644
--- a/net/802/tr.c
+++ b/net/802/tr.c
@@ -668,3 +668,5 @@ module_init(rif_init);
668 668
669EXPORT_SYMBOL(tr_type_trans); 669EXPORT_SYMBOL(tr_type_trans);
670EXPORT_SYMBOL(alloc_trdev); 670EXPORT_SYMBOL(alloc_trdev);
671
672MODULE_LICENSE("GPL");