aquantia.h 447 B

1234567891011121314151617
  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. #include <linux/device.h>
  9. #include <linux/phy.h>
  10. #if IS_REACHABLE(CONFIG_HWMON)
  11. int aqr_hwmon_probe(struct phy_device *phydev);
  12. #else
  13. static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; }
  14. #endif