File Index
Files and directories
Sign in
FILE

bnxt_hwmon.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/ethernet/broadcom/bnxt/bnxt_hwmon.h C
 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
14void bnxt_hwmon_notify_event(struct bnxt *bp);
15void bnxt_hwmon_uninit(struct bnxt *bp);
16void bnxt_hwmon_init(struct bnxt *bp);
17#else
18static inline void bnxt_hwmon_notify_event(struct bnxt *bp)
19{
20}
21
22static inline void bnxt_hwmon_uninit(struct bnxt *bp)
23{
24}
25
26static inline void bnxt_hwmon_init(struct bnxt *bp)
27{
28}
29#endif
30#endif
~/ Read-only file preview.