drivers/net/ethernet/intel/ice/ice_hwmon.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* Copyright (C) 2023, Intel Corporation. */ |
| 3 | |
| 4 | #ifndef _ICE_HWMON_H_ |
| 5 | #define _ICE_HWMON_H_ |
| 6 | |
| 7 | #ifdef CONFIG_ICE_HWMON |
| 8 | void ice_hwmon_init(struct ice_pf *pf); |
| 9 | void ice_hwmon_exit(struct ice_pf *pf); |
| 10 | #else /* CONFIG_ICE_HWMON */ |
| 11 | static inline void ice_hwmon_init(struct ice_pf *pf) { } |
| 12 | static inline void ice_hwmon_exit(struct ice_pf *pf) { } |
| 13 | #endif /* CONFIG_ICE_HWMON */ |
| 14 | |
| 15 | #endif /* _ICE_HWMON_H_ */ |