OSDN Git Service

drm/tests: helpers: Add module infos
authorMaxime Ripard <maxime@cerno.tech>
Wed, 16 Nov 2022 09:17:11 +0000 (10:17 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 16 Nov 2022 15:13:18 +0000 (16:13 +0100)
The MODULE_LICENSE macro is missing from the kunit helpers file, thus
leading to a build error.

Let's introduce it along with MODULE_AUTHOR.

Fixes: 44a3928324e9 ("drm/tests: Add Kunit Helpers")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: MaĆ­ra Canal <mairacanal@riseup.net>
Link: https://lore.kernel.org/r/20221116091712.1309651-2-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/tests/drm_kunit_helpers.c

index dbd8ec2..eea450d 100644 (file)
@@ -64,3 +64,6 @@ struct drm_device *drm_kunit_device_init(struct kunit *test, u32 features, char
 
        return drm;
 }
+
+MODULE_AUTHOR("Maxime Ripard <maxime@cerno.tech>");
+MODULE_LICENSE("GPL");