From 2c3c1048746a4622d8c89a29670120dc8fab93c4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:49:45 +0200 Subject: Adding upstream version 6.1.76. Signed-off-by: Daniel Baumann --- drivers/gpu/drm/display/drm_display_helper_mod.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 drivers/gpu/drm/display/drm_display_helper_mod.c (limited to 'drivers/gpu/drm/display/drm_display_helper_mod.c') diff --git a/drivers/gpu/drm/display/drm_display_helper_mod.c b/drivers/gpu/drm/display/drm_display_helper_mod.c new file mode 100644 index 000000000..d8a6e6228 --- /dev/null +++ b/drivers/gpu/drm/display/drm_display_helper_mod.c @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: MIT + +#include + +#include "drm_dp_helper_internal.h" + +MODULE_DESCRIPTION("DRM display adapter helper"); +MODULE_LICENSE("GPL and additional rights"); + +static int __init drm_display_helper_module_init(void) +{ + return drm_dp_aux_dev_init(); +} + +static void __exit drm_display_helper_module_exit(void) +{ + /* Call exit functions from specific dp helpers here */ + drm_dp_aux_dev_exit(); +} + +module_init(drm_display_helper_module_init); +module_exit(drm_display_helper_module_exit); -- cgit v1.2.3