Commit f7bb2426 authored by Maxime Ripard's avatar Maxime Ripard Committed by Greg Kroah-Hartman

drivers: base: test: Add missing MODULE_* macros to root device tests

Commit 06188bc8 ("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: 06188bc8 ("drivers: base: Add basic devm tests for root devices")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarMaxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20230816073019.1446155-2-mripard@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f71b144e
...@@ -106,3 +106,7 @@ static struct kunit_suite root_device_devm_test_suite = { ...@@ -106,3 +106,7 @@ static struct kunit_suite root_device_devm_test_suite = {
}; };
kunit_test_suite(root_device_devm_test_suite); kunit_test_suite(root_device_devm_test_suite);
MODULE_DESCRIPTION("Test module for root devices");
MODULE_AUTHOR("Maxime Ripard <mripard@kernel.org>");
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment