resource: provide meaningful MODULE_LICENSE() in test suite
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 25 Nov 2020 16:16:26 +0000 (18:16 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 25 Nov 2020 17:52:35 +0000 (18:52 +0100)
modpost complains that module has no licence provided.
Provide it via meaningful MODULE_LICENSE().

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/resource_kunit.c

index 9fdbca8426f115af826c8d3ae18b8d2ddd028ac4..58ab9f914602b9b1919d4817bf119e3aeead54bd 100644 (file)
@@ -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");