Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /* HWMON driver for Aquantia PHY
0003  *
0004  * Author: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
0005  * Author: Andrew Lunn <andrew@lunn.ch>
0006  * Author: Heiner Kallweit <hkallweit1@gmail.com>
0007  */
0008 
0009 #include <linux/device.h>
0010 #include <linux/phy.h>
0011 
0012 #if IS_REACHABLE(CONFIG_HWMON)
0013 int aqr_hwmon_probe(struct phy_device *phydev);
0014 #else
0015 static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; }
0016 #endif