drivers: base: test: Add missing MODULE_* macros to root device tests
authorMaxime Ripard <mripard@kernel.org>
Wed, 16 Aug 2023 07:30:19 +0000 (09:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Aug 2023 17:01:29 +0000 (19:01 +0200)
commitf7bb242601deae2bb62db40ce4edea9a6193d0d2
treeca2678ea5963ba23e3825f804edf72da66402471
parentf71b144e3e7a490d9140045680b7025382fb33b5
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 <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>
drivers/base/test/root-device-test.c