xref: /openbmc/linux/drivers/net/phy/aquantia.h (revision d9fd5a71)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* HWMON driver for Aquantia PHY
3  *
4  * Author: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
5  * Author: Andrew Lunn <andrew@lunn.ch>
6  * Author: Heiner Kallweit <hkallweit1@gmail.com>
7  */
8 
9 #include <linux/device.h>
10 #include <linux/phy.h>
11 
12 #if IS_REACHABLE(CONFIG_HWMON)
13 int aqr_hwmon_probe(struct phy_device *phydev);
14 #else
15 static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; }
16 #endif
17