XenevaOS
Loading...
Searching...
No Matches
drm_ras_genl_family.h
Go to the documentation of this file.
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)
10int drm_ras_genl_family_register(void);
11void drm_ras_genl_family_unregister(void);
12#else
13static inline int drm_ras_genl_family_register(void) { return 0; }
14static inline void drm_ras_genl_family_unregister(void) { }
15#endif
16
17#endif