1 From d0799b2a8757875d6bcfb91dfad037b017b764c3 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Thu, 1 Dec 2022 14:59:07 +0100
4 Subject: [PATCH] drm/tests: helpers: Switch to EXPORT_SYMBOL_GPL
6 drm_kunit_device_init() among other things will allocate a device and
7 wrap around root_device_register. This function is exported with
8 EXPORT_SYMBOL_GPL, so we can't really change the license.
10 Fixes: 199557fab925 ("drm/tests: helpers: Add missing export")
11 Suggested-by: Javier Martinez Canillas <javierm@redhat.com>
12 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
14 drivers/gpu/drm/tests/drm_kunit_helpers.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 --- a/drivers/gpu/drm/tests/drm_kunit_helpers.c
18 +++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c
19 @@ -82,7 +82,7 @@ struct drm_device *drm_kunit_device_init
23 -EXPORT_SYMBOL(drm_kunit_device_init);
24 +EXPORT_SYMBOL_GPL(drm_kunit_device_init);
26 MODULE_AUTHOR("Maxime Ripard <maxime@cerno.tech>");
27 MODULE_LICENSE("GPL");