xref: /linux/drivers/gpu/drm/display/drm_display_helper_mod.c (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*1e0f6642SThomas Zimmermann // SPDX-License-Identifier: MIT
2*1e0f6642SThomas Zimmermann 
3*1e0f6642SThomas Zimmermann #include <linux/module.h>
4*1e0f6642SThomas Zimmermann 
5*1e0f6642SThomas Zimmermann #include "drm_dp_helper_internal.h"
6*1e0f6642SThomas Zimmermann 
7*1e0f6642SThomas Zimmermann MODULE_DESCRIPTION("DRM display adapter helper");
8*1e0f6642SThomas Zimmermann MODULE_LICENSE("GPL and additional rights");
9*1e0f6642SThomas Zimmermann 
drm_display_helper_module_init(void)10*1e0f6642SThomas Zimmermann static int __init drm_display_helper_module_init(void)
11*1e0f6642SThomas Zimmermann {
12*1e0f6642SThomas Zimmermann 	return drm_dp_aux_dev_init();
13*1e0f6642SThomas Zimmermann }
14*1e0f6642SThomas Zimmermann 
drm_display_helper_module_exit(void)15*1e0f6642SThomas Zimmermann static void __exit drm_display_helper_module_exit(void)
16*1e0f6642SThomas Zimmermann {
17*1e0f6642SThomas Zimmermann 	/* Call exit functions from specific dp helpers here */
18*1e0f6642SThomas Zimmermann 	drm_dp_aux_dev_exit();
19*1e0f6642SThomas Zimmermann }
20*1e0f6642SThomas Zimmermann 
21*1e0f6642SThomas Zimmermann module_init(drm_display_helper_module_init);
22*1e0f6642SThomas Zimmermann module_exit(drm_display_helper_module_exit);
23