diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-04-21 09:31:02 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-04-25 11:17:45 +0200 |
commit | da68386d9edb1f57abf886febe5c5169ebd4d2c9 (patch) | |
tree | 9418074e999a004b782ba4d2e05684df01e7217f /drivers/gpu/drm/display/drm_dp_helper_mod.c | |
parent | c6eafc99f0f75f71bf24b55b3abb8218a75e329e (diff) | |
download | lwn-da68386d9edb1f57abf886febe5c5169ebd4d2c9.tar.gz lwn-da68386d9edb1f57abf886febe5c5169ebd4d2c9.zip |
drm: Rename dp/ to display/
Rename dp/ to display/ to account for additional display-related
helpers, such as HDMI. Update all related include statements. No
functional changes.
Various drivers, such as i915 and amdgpu, use similar naming scheme
by putting code for video-output standards into a local display/
directory. The new directory's name is aligned with this convention.
v2:
* update commit message (Javier)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220421073108.19226-3-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/display/drm_dp_helper_mod.c')
-rw-r--r-- | drivers/gpu/drm/display/drm_dp_helper_mod.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/gpu/drm/display/drm_dp_helper_mod.c b/drivers/gpu/drm/display/drm_dp_helper_mod.c new file mode 100644 index 000000000000..db753de24000 --- /dev/null +++ b/drivers/gpu/drm/display/drm_dp_helper_mod.c @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: MIT + +#include <linux/module.h> + +#include "drm_dp_helper_internal.h" + +MODULE_DESCRIPTION("DRM DisplayPort helper"); +MODULE_LICENSE("GPL and additional rights"); + +static int __init drm_dp_helper_module_init(void) +{ + return drm_dp_aux_dev_init(); +} + +static void __exit drm_dp_helper_module_exit(void) +{ + /* Call exit functions from specific dp helpers here */ + drm_dp_aux_dev_exit(); +} + +module_init(drm_dp_helper_module_init); +module_exit(drm_dp_helper_module_exit); |