Skip to content

Commit f7bb242

Browse files
mripardgregkh
authored andcommitted
drivers: base: test: Add missing MODULE_* macros to root device tests
Commit 06188bc ("drivers: base: Add basic devm tests for root devices") introduced a new set of tests for root devices that could be compiled as a module, but didn't have the usual module macros. Make sure they're there. Fixes: 06188bc ("drivers: base: Add basic devm tests for root 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 f71b144 commit f7bb242

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,7 @@ static struct kunit_suite root_device_devm_test_suite = {
106106
};
107107

108108
kunit_test_suite(root_device_devm_test_suite);
109+
110+
MODULE_DESCRIPTION("Test module for root devices");
111+
MODULE_AUTHOR("Maxime Ripard <[email protected]>");
112+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)