diff options
Diffstat (limited to 'drivers/gpu/drm/display/drm_display_helper_mod.c')
-rw-r--r-- | drivers/gpu/drm/display/drm_display_helper_mod.c | 22 |
1 files changed, 22 insertions, 0 deletions
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 <linux/module.h> + +#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); |