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