aquantia.h (450B)
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) 13int aqr_hwmon_probe(struct phy_device *phydev); 14#else 15static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; } 16#endif