2023-09-26 20:57:28 -07:00
|
|
|
/* Broadcom NetXtreme-C/E network driver.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2023 Broadcom Limited
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BNXT_HWMON_H
|
|
|
|
#define BNXT_HWMON_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_BNXT_HWMON
|
2023-10-20 14:27:50 -07:00
|
|
|
void bnxt_hwmon_notify_event(struct bnxt *bp);
|
2023-09-26 20:57:28 -07:00
|
|
|
void bnxt_hwmon_uninit(struct bnxt *bp);
|
|
|
|
void bnxt_hwmon_init(struct bnxt *bp);
|
|
|
|
#else
|
2023-10-20 14:27:50 -07:00
|
|
|
static inline void bnxt_hwmon_notify_event(struct bnxt *bp)
|
2023-09-26 20:57:32 -07:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2023-09-26 20:57:28 -07:00
|
|
|
static inline void bnxt_hwmon_uninit(struct bnxt *bp)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline void bnxt_hwmon_init(struct bnxt *bp)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|