drivers: base: test: Add missing MODULE_* macros for platform devices tests
PATCH 1/2 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 <[email protected]>
Signed-off-by Maxime Ripard <[email protected]>
--- drivers/base/test/platform-device-test.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/base/test/platform-device-test.c +4 -0
@@ -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 <[email protected]>" ); +MODULE_LICENSE ("GPL" );
Signature · 1 line
2.41.0
PATCH 2/2 drivers: base: test: Add missing MODULE_* macros to root device tests
Commit 06188bc80ccb ("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 06188bc80ccb ("drivers: base: Add basic devm tests for root devices")
Reported-by Stephen Rothwell <[email protected]>
Signed-off-by Maxime Ripard <[email protected]>
--- drivers/base/test/root-device-test.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/base/test/root-device-test.c +4 -0
@@ -106,3 +106,7 @@ static struct kunit_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 <[email protected]>" ); +MODULE_LICENSE ("GPL" );
Signature · 1 line
2.41.0