1 | /* Broadcom NetXtreme-C/E network driver. |
2 | * |
3 | * Copyright (c) 2023 Broadcom Limited |
4 | * |
5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License as published by |
7 | * the Free Software Foundation. |
8 | */ |
9 | |
10 | #ifndef BNXT_HWMON_H |
11 | #define BNXT_HWMON_H |
12 | |
13 | #ifdef CONFIG_BNXT_HWMON |
14 | void bnxt_hwmon_notify_event(struct bnxt *bp); |
15 | void bnxt_hwmon_uninit(struct bnxt *bp); |
16 | void bnxt_hwmon_init(struct bnxt *bp); |
17 | #else |
18 | static inline void bnxt_hwmon_notify_event(struct bnxt *bp) |
19 | { |
20 | } |
21 | |
22 | static inline void bnxt_hwmon_uninit(struct bnxt *bp) |
23 | { |
24 | } |
25 | |
26 | static inline void bnxt_hwmon_init(struct bnxt *bp) |
27 | { |
28 | } |
29 | #endif |
30 | #endif |
31 | |