diff options
author | Maxime Ripard <[email protected]> | 2022-12-01 16:11:35 +0100 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2022-12-08 09:56:43 +0100 |
commit | 642ef3fbfe4f304fbb58cb46b198ad284ea66e93 (patch) | |
tree | de4c0e85a73edaf2d46bd1f7855829cc2ca5d91e | |
parent | cee6ec3bee55976762bcf1b3bf959575f323cc9e (diff) |
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 <[email protected]>
Reviewed-by: MaĆra Canal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Maxime Ripard <[email protected]>
-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 <[email protected]>"); MODULE_LICENSE("GPL"); |