From: Andrew Morton Date: Fri, 31 Mar 2006 10:30:59 +0000 (-0800) Subject: [PATCH] modules: permit Dual-MIT/GPL licenses X-Git-Tag: firefly_0821_release~36498 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7529c301165079d0f149d0e54724829e602f8fc0;p=firefly-linux-kernel-4.4.55.git [PATCH] modules: permit Dual-MIT/GPL licenses One of the LEDs driver files wants to use this. Probably drivers/mtd/maps/ipaq-flash.c wants to convert as well - right now it'll be tainting the kernel. Cc: David Woodhouse Cc: Thomas Gleixner Cc: John Bowler Cc: "'Richard Purdie'" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/module.c b/kernel/module.c index bd088a7c1499..d24deb0dbbc9 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -1254,6 +1254,7 @@ static inline int license_is_gpl_compatible(const char *license) || strcmp(license, "GPL v2") == 0 || strcmp(license, "GPL and additional rights") == 0 || strcmp(license, "Dual BSD/GPL") == 0 + || strcmp(license, "Dual MIT/GPL") == 0 || strcmp(license, "Dual MPL/GPL") == 0); }