OSDN Git Service

drm/tests: helpers: Switch to EXPORT_SYMBOL_GPL
authorMaxime Ripard <maxime@cerno.tech>
Thu, 1 Dec 2022 15:11:35 +0000 (16:11 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 8 Dec 2022 08:56:43 +0000 (09:56 +0100)
commit642ef3fbfe4f304fbb58cb46b198ad284ea66e93
treede4c0e85a73edaf2d46bd1f7855829cc2ca5d91e
parentcee6ec3bee55976762bcf1b3bf959575f323cc9e
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>
drivers/gpu/drm/tests/drm_kunit_helpers.c