https://github.com/torvalds/linux
Raw File
Tip revision: a5e13c6df0e41702d2b2c77c8ad41677ebb065b3 authored by Linus Torvalds on 28 March 2021, 22:48:16 UTC
Linux 5.12-rc5
Tip revision: a5e13c6
aquantia.h
/* 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
back to top