Skip to content

Commit f71b144

Browse files
mripardgregkh
authored andcommitted
drivers: base: test: Add missing MODULE_* macros for platform devices tests
Commit b4cc443 ("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: b4cc443 ("drivers: base: Add basic devm tests for platform devices") Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 699fb50 commit f71b144

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/base/test/platform-device-test.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,3 +218,7 @@ static struct kunit_suite platform_device_devm_test_suite = {
218218
};
219219

220220
kunit_test_suite(platform_device_devm_test_suite);
221+
222+
MODULE_DESCRIPTION("Test module for platform devices");
223+
MODULE_AUTHOR("Maxime Ripard <[email protected]>");
224+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)