aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy390-kernel/patches/kernel-5.8-license-bypass.patch
blob: 702c9c2786e780c317010f6c36b18e3986611944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/kernel/nvidia-uvm/uvm_common.c b/kernel/nvidia-uvm/uvm_common.c
index 0f4516a..9e9811e 100644
--- a/kernel/nvidia-uvm/uvm_common.c
+++ b/kernel/nvidia-uvm/uvm_common.c
@@ -379,5 +379,5 @@ module_param(uvm_enable_builtin_tests, int, S_IRUGO);
 MODULE_PARM_DESC(uvm_enable_builtin_tests,
                  "Enable the UVM built-in tests. (This is a security risk)");
 
-MODULE_LICENSE("MIT");
+MODULE_LICENSE("GPL");
 MODULE_INFO(supported, "external");
diff --git a/kernel/nvidia-uvm/uvm_unsupported.c b/kernel/nvidia-uvm/uvm_unsupported.c
index 0419121..1ccd1f4 100644
--- a/kernel/nvidia-uvm/uvm_unsupported.c
+++ b/kernel/nvidia-uvm/uvm_unsupported.c
@@ -171,6 +171,6 @@ static void __exit uvm_unsupported_exit(void)
 module_init(uvm_unsupported_module_init);
 module_exit(uvm_unsupported_exit);
 
-MODULE_LICENSE("MIT");
+MODULE_LICENSE("GPL");
 MODULE_INFO(supported, "external");