FILE
xe_hwmon.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/xe/xe_hwmon.h
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_ */
~/
Read-only file preview.