aquantia.h 450 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* HWMON driver for Aquantia PHY
  3. *
  4. * Author: Nikita Yushchenko <[email protected]>
  5. * Author: Andrew Lunn <[email protected]>
  6. * Author: Heiner Kallweit <[email protected]>
  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