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 <sfr@canb.auug.org.au> Signed-off-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20230816073019.1446155-2-mripard@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f71b144 commit f7bb242

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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 <mripard@kernel.org>");
112+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)