]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: fix tokenring license
authorMeelis Roos <mroos@linux.ee>
Wed, 4 Mar 2009 07:48:50 +0000 (23:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2009 07:48:50 +0000 (23:48 -0800)
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>
net/802/tr.c

index 158150fee462fdbca4a2fa2175532b71dd2f862d..f47ae289d83b142167ed971f315a28e757752020 100644 (file)
@@ -668,3 +668,5 @@ module_init(rif_init);
 
 EXPORT_SYMBOL(tr_type_trans);
 EXPORT_SYMBOL(alloc_trdev);
+
+MODULE_LICENSE("GPL");