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