[PATCH v1] resource: provide meaningful MODULE_LICENSE() in test suite

From: Andy Shevchenko
Date: Thu Nov 19 2020 - 05:53:52 EST


modpost complains that module has no licence provided.
Provide it via meaningful MODULE_LICENSE().

Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
kernel/resource_kunit.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/kernel/resource_kunit.c b/kernel/resource_kunit.c
index 9fdbca8426f1..58ab9f914602 100644
--- a/kernel/resource_kunit.c
+++ b/kernel/resource_kunit.c
@@ -148,3 +148,5 @@ static struct kunit_suite resource_test_suite = {
.test_cases = resource_test_cases,
};
kunit_test_suite(resource_test_suite);
+
+MODULE_LICENSE("GPL");
--
2.29.2