[PATCH v10 01/19] drm/tests: client: Mention that we can't use MODULE_ macros
Maxime Ripard
maxime at cerno.tech
Thu Nov 17 09:28:44 UTC 2022
That file is included directly, so we can't use any MODULE macro. Let's
leave a comment to avoid any future mistake.
Signed-off-by: Maxime Ripard <maxime at cerno.tech>
---
drivers/gpu/drm/tests/drm_client_modeset_test.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/tests/drm_client_modeset_test.c b/drivers/gpu/drm/tests/drm_client_modeset_test.c
index 362a5fbd82f5..cdae1e4c762a 100644
--- a/drivers/gpu/drm/tests/drm_client_modeset_test.c
+++ b/drivers/gpu/drm/tests/drm_client_modeset_test.c
@@ -96,3 +96,8 @@ static struct kunit_suite drm_test_pick_cmdline_test_suite = {
};
kunit_test_suite(drm_test_pick_cmdline_test_suite);
+
+/*
+ * This file is included directly by drm_client_modeset.c so we can't
+ * use any MODULE_* macro here.
+ */
--
b4 0.11.0-dev-99e3a
More information about the dri-devel
mailing list