diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-11-28 11:19:38 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-11-28 18:06:26 +0300 |
commit | a77a3ffa151b7a9b3f579203ff6b5844803acfd7 (patch) | |
tree | 806562a86946c53e848aca9d52a5675b2ea669ae /drivers | |
parent | 0ae41323a83233610e64e926eefb4d132ecb9028 (diff) | |
download | linux-a77a3ffa151b7a9b3f579203ff6b5844803acfd7.tar.xz |
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')
-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"); |