Skip to content

Commit

Permalink
net: fix tokenring license
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
meelisroos authored and davem330 committed Mar 4, 2009
1 parent a1a69c8 commit 4222474
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/802/tr.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,3 +668,5 @@ module_init(rif_init);

EXPORT_SYMBOL(tr_type_trans);
EXPORT_SYMBOL(alloc_trdev);

MODULE_LICENSE("GPL");

0 comments on commit 4222474

Please sign in to comment.