diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-12-01 16:11:35 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-12-08 09:56:43 +0100 |
commit | 642ef3fbfe4f304fbb58cb46b198ad284ea66e93 (patch) | |
tree | de4c0e85a73edaf2d46bd1f7855829cc2ca5d91e | |
parent | cee6ec3bee55976762bcf1b3bf959575f323cc9e (diff) | |
download | linux-stable-642ef3fbfe4f304fbb58cb46b198ad284ea66e93.tar.gz linux-stable-642ef3fbfe4f304fbb58cb46b198ad284ea66e93.tar.bz2 linux-stable-642ef3fbfe4f304fbb58cb46b198ad284ea66e93.zip |
drm/tests: helpers: Switch to EXPORT_SYMBOL_GPL
drm_kunit_device_init() among other things will allocate a device and
wrap around root_device_register. This function is exported with
EXPORT_SYMBOL_GPL, so we can't really change the license.
Fixes: a77a3ffa151b ("drm/tests: helpers: Add missing export")
Suggested-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: MaĆra Canal <mcanal@igalia.com>
Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v3-4-4615a663a84a@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
-rw-r--r-- | drivers/gpu/drm/tests/drm_kunit_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tests/drm_kunit_helpers.c b/drivers/gpu/drm/tests/drm_kunit_helpers.c index 9ed3cfc2ac03..4fe131141718 100644 --- a/drivers/gpu/drm/tests/drm_kunit_helpers.c +++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c @@ -82,7 +82,7 @@ struct drm_device *drm_kunit_device_init(struct kunit *test, u32 features, char return drm; } -EXPORT_SYMBOL(drm_kunit_device_init); +EXPORT_SYMBOL_GPL(drm_kunit_device_init); MODULE_AUTHOR("Maxime Ripard <maxime@cerno.tech>"); MODULE_LICENSE("GPL"); |