summaryrefslogtreecommitdiff
path: root/include/drm/drm_ras_genl_family.h
blob: 910fb3943a752db809c07b96890c029892195be5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2026 Intel Corporation
 */

#ifndef __DRM_RAS_GENL_FAMILY_H__
#define __DRM_RAS_GENL_FAMILY_H__

#if IS_ENABLED(CONFIG_DRM_RAS)
int drm_ras_genl_family_register(void);
void drm_ras_genl_family_unregister(void);
#else
static inline int drm_ras_genl_family_register(void) { return 0; }
static inline void drm_ras_genl_family_unregister(void) { }
#endif

#endif