summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2023-08-16 10:30:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-16 20:01:29 +0300
commitf71b144e3e7a490d9140045680b7025382fb33b5 (patch)
treebf5c02d9b1e3dadfac0960ac7a30c5f7d12172b1 /drivers/base
parent699fb50d99039a50e7494de644f96c889279aca3 (diff)
downloadlinux-f71b144e3e7a490d9140045680b7025382fb33b5.tar.xz
drivers: base: test: Add missing MODULE_* macros for platform devices tests
Commit b4cc44301b9d ("drivers: base: Add basic devm tests for platform devices") introduced a new set of tests for platform devices that could be compiled as a module, but didn't have the usual module macros. Make sure they're there. Fixes: b4cc44301b9d ("drivers: base: Add basic devm tests for platform devices") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20230816073019.1446155-1-mripard@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/test/platform-device-test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/base/test/platform-device-test.c b/drivers/base/test/platform-device-test.c
index 1ae5ce8bd366..ea05b8785743 100644
--- a/drivers/base/test/platform-device-test.c
+++ b/drivers/base/test/platform-device-test.c
@@ -218,3 +218,7 @@ static struct kunit_suite platform_device_devm_test_suite = {
};
kunit_test_suite(platform_device_devm_test_suite);
+
+MODULE_DESCRIPTION("Test module for platform devices");
+MODULE_AUTHOR("Maxime Ripard <mripard@kernel.org>");
+MODULE_LICENSE("GPL");