mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
793f8ab62c
Add kernel patches for version 6.1. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
28 lines
1017 B
Diff
28 lines
1017 B
Diff
From d0799b2a8757875d6bcfb91dfad037b017b764c3 Mon Sep 17 00:00:00 2001
|
|
From: Maxime Ripard <maxime@cerno.tech>
|
|
Date: Thu, 1 Dec 2022 14:59:07 +0100
|
|
Subject: [PATCH] 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: 199557fab925 ("drm/tests: helpers: Add missing export")
|
|
Suggested-by: Javier Martinez Canillas <javierm@redhat.com>
|
|
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
|
|
---
|
|
drivers/gpu/drm/tests/drm_kunit_helpers.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- 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
|
|
|
|
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");
|