20 lines
359 B
C
20 lines
359 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_HWMON_H_
|
|
#define _XE_HWMON_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct xe_device;
|
|
|
|
#if IS_REACHABLE(CONFIG_HWMON)
|
|
int xe_hwmon_register(struct xe_device *xe);
|
|
#else
|
|
static inline int xe_hwmon_register(struct xe_device *xe) { return 0; };
|
|
#endif
|
|
|
|
#endif /* _XE_HWMON_H_ */
|