repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
17 lines
450 B
C
17 lines
450 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* HWMON driver for Aquantia PHY
|
|
*
|
|
* 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
|