Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2023 Intel Corporation
4 */
5
6#ifndef _XE_HWMON_H_
7#define _XE_HWMON_H_
8
9#include <linux/types.h>
10
11struct xe_device;
12
13#if IS_REACHABLE(CONFIG_HWMON)
14int xe_hwmon_register(struct xe_device *xe);
15#else
16static inline int xe_hwmon_register(struct xe_device *xe) { return 0; };
17#endif
18
19#endif /* _XE_HWMON_H_ */