mdio-boardinfo.h 509 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * mdio-boardinfo.h - board info interface internal to the mdio_bus
  4. * component
  5. */
  6. #ifndef __MDIO_BOARD_INFO_H
  7. #define __MDIO_BOARD_INFO_H
  8. #include <linux/phy.h>
  9. #include <linux/mutex.h>
  10. struct mdio_board_entry {
  11. struct list_head list;
  12. struct mdio_board_info board_info;
  13. };
  14. void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus,
  15. int (*cb)
  16. (struct mii_bus *bus,
  17. struct mdio_board_info *bi));
  18. #endif /* __MDIO_BOARD_INFO_H */