diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-11-28 09:19:38 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-11-28 16:06:26 +0100 |
commit | a77a3ffa151b7a9b3f579203ff6b5844803acfd7 (patch) | |
tree | 806562a86946c53e848aca9d52a5675b2ea669ae /drivers/gpu/drm/tests | |
parent | drm/vc4: vec: Use pm_runtime_resume_and_get() in vc4_vec_encoder_enable() (diff) | |
download | linux-a77a3ffa151b7a9b3f579203ff6b5844803acfd7.tar.xz linux-a77a3ffa151b7a9b3f579203ff6b5844803acfd7.zip |
drm/tests: helpers: Add missing export
drm_kunit_device_init() is a public function meant to be used by other
tests, but isn't exported. This leads to modpost errors when the other
tests are compiled as module.
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: MaĆra Canal <mairacanal@riseup.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20221128081938.742410-3-maxime@cerno.tech
Diffstat (limited to 'drivers/gpu/drm/tests')
-rw-r--r-- | drivers/gpu/drm/tests/drm_kunit_helpers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tests/drm_kunit_helpers.c b/drivers/gpu/drm/tests/drm_kunit_helpers.c index f1662091f250..8c738384a992 100644 --- a/drivers/gpu/drm/tests/drm_kunit_helpers.c +++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c @@ -66,6 +66,7 @@ struct drm_device *drm_kunit_device_init(struct kunit *test, u32 features, char return drm; } +EXPORT_SYMBOL(drm_kunit_device_init); MODULE_AUTHOR("Maxime Ripard <maxime@cerno.tech>"); MODULE_LICENSE("GPL"); |