xref: /linux/include/drm/drm_ras_genl_family.h (revision 4a57e0913e8c7fff407e97909f4ae48caa84d612)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2026 Intel Corporation
4  */
5 
6 #ifndef __DRM_RAS_GENL_FAMILY_H__
7 #define __DRM_RAS_GENL_FAMILY_H__
8 
9 #if IS_ENABLED(CONFIG_DRM_RAS)
10 int drm_ras_genl_family_register(void);
11 void drm_ras_genl_family_unregister(void);
12 #else
13 static inline int drm_ras_genl_family_register(void) { return 0; }
14 static inline void drm_ras_genl_family_unregister(void) { }
15 #endif
16 
17 #endif
18