From: Meelis Roos Date: Wed, 4 Mar 2009 07:48:50 +0000 (-0800) Subject: net: fix tokenring license X-Git-Tag: v2.6.29~3^2~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4222474519ff5b31a526dfa1da7aa4b0e38bef5c;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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 Signed-off-by: David S. Miller --- 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");