xref: /linux/drivers/net/ethernet/intel/ice/ice_hwmon.h (revision 06d07429858317ded2db7986113a9e0129cd599b)
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)11 static inline void ice_hwmon_init(struct ice_pf *pf) { }
ice_hwmon_exit(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_ */
16