Merge tag 'net-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[drm/drm-misc.git] / drivers / net / ethernet / broadcom / bnxt / bnxt_hwmon.h
blobde54a562e06a4fb1dd661f112f4e751d24e3a492
1 /* Broadcom NetXtreme-C/E network driver.
3 * Copyright (c) 2023 Broadcom Limited
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 */
10 #ifndef BNXT_HWMON_H
11 #define BNXT_HWMON_H
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)
22 static inline void bnxt_hwmon_uninit(struct bnxt *bp)
26 static inline void bnxt_hwmon_init(struct bnxt *bp)
29 #endif
30 #endif