diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-12-01 16:11:36 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-12-08 09:56:55 +0100 |
commit | 83ee69a89f32d60669e66dad1c5d841573e5a8ec (patch) | |
tree | 2488adf587eddb38c7762f298b2d3ce42b38ccd4 /include/drm | |
parent | drm/tests: helpers: Switch to EXPORT_SYMBOL_GPL (diff) | |
download | linux-83ee69a89f32d60669e66dad1c5d841573e5a8ec.tar.xz linux-83ee69a89f32d60669e66dad1c5d841573e5a8ec.zip |
drm/tests: helpers: Rename the device init helper
The name doesn't really fit the conventions for the other helpers in
DRM/KMS, so let's rename it to make it obvious that we allocate a new
DRM device.
Reviewed-by: MaĆra Canal <mcanal@igalia.com>
Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v3-5-4615a663a84a@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_kunit_helpers.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/drm/drm_kunit_helpers.h b/include/drm/drm_kunit_helpers.h index 20ab6eec4c89..e9870c7911fe 100644 --- a/include/drm/drm_kunit_helpers.h +++ b/include/drm/drm_kunit_helpers.h @@ -6,6 +6,9 @@ struct drm_device; struct kunit; -struct drm_device *drm_kunit_device_init(struct kunit *test, u32 features, char *name); +struct drm_device * +drm_kunit_helper_alloc_drm_device(struct kunit *test, + u32 features, + char *name); #endif // DRM_KUNIT_HELPERS_H_ |