2019-11-27 21:19:08 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/* HWMON driver for Aquantia PHY
|
2019-02-26 02:56:38 +08:00
|
|
|
*
|
|
|
|
* Author: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
|
|
|
|
* Author: Andrew Lunn <andrew@lunn.ch>
|
|
|
|
* Author: Heiner Kallweit <hkallweit1@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/device.h>
|
|
|
|
#include <linux/phy.h>
|
|
|
|
|
|
|
|
#if IS_REACHABLE(CONFIG_HWMON)
|
|
|
|
int aqr_hwmon_probe(struct phy_device *phydev);
|
|
|
|
#else
|
|
|
|
static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; }
|
|
|
|
#endif
|