File Index
Files and directories
Sign in
FILE

ice_hwmon.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/ethernet/intel/ice/ice_hwmon.h C
 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
 8void ice_hwmon_init(struct ice_pf *pf);
 9void ice_hwmon_exit(struct ice_pf *pf);
10#else /* CONFIG_ICE_HWMON */
11static inline void ice_hwmon_init(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_ */
~/ Read-only file preview.