mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
drm/tests: helpers: Add missing export
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 <[email protected]> Reviewed-by: Maíra Canal <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
This commit is contained in:
@@ -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 <[email protected]>");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
Reference in New Issue
Block a user