OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ae4132
)
drm/tests: helpers: Add missing export
author
Maxime Ripard
<maxime@cerno.tech>
Mon, 28 Nov 2022 08:19:38 +0000
(09:19 +0100)
committer
Maxime Ripard
<maxime@cerno.tech>
Mon, 28 Nov 2022 15:06:26 +0000
(16:06 +0100)
drm_kunit_device_init() is a public function meant to be used by other
tests, but isn't exported. This leads to modpost errors when the other
tests are compiled as module.
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: MaĆra Canal <mairacanal@riseup.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link:
https://patchwork.freedesktop.org/patch/msgid/20221128081938.742410-3-maxime@cerno.tech
drivers/gpu/drm/tests/drm_kunit_helpers.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tests/drm_kunit_helpers.c
b/drivers/gpu/drm/tests/drm_kunit_helpers.c
index
f166209
..
8c73838
100644
(file)
--- a/
drivers/gpu/drm/tests/drm_kunit_helpers.c
+++ b/
drivers/gpu/drm/tests/drm_kunit_helpers.c
@@
-66,6
+66,7
@@
struct drm_device *drm_kunit_device_init(struct kunit *test, u32 features, char
return drm;
}
+EXPORT_SYMBOL(drm_kunit_device_init);
MODULE_AUTHOR("Maxime Ripard <maxime@cerno.tech>");
MODULE_LICENSE("GPL");