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 */ ice_hwmon_init(struct ice_pf * pf)11static inline void ice_hwmon_init(struct ice_pf *pf) { } ice_hwmon_exit(struct ice_pf * pf)12static inline void ice_hwmon_exit(struct ice_pf *pf) { } 13 #endif /* CONFIG_ICE_HWMON */ 14 15 #endif /* _ICE_HWMON_H_ */ 16