blob: 3a7f143904e8c5948f94b1f570b9310368855ac8 [file] [log] [blame]
Florian Fainelli648ea012017-02-04 13:02:44 -08001/*
2 * mdio-boardinfo.h - board info interface internal to the mdio_bus
3 * component
4 */
5
6#ifndef __MDIO_BOARD_INFO_H
7#define __MDIO_BOARD_INFO_H
8
9#include <linux/phy.h>
10#include <linux/mutex.h>
11
12struct mdio_board_entry {
13 struct list_head list;
14 struct mdio_board_info board_info;
15};
16
Florian Fainellid0281a52017-03-28 12:57:09 -070017void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus,
18 int (*cb)
19 (struct mii_bus *bus,
20 struct mdio_board_info *bi));
Florian Fainelli648ea012017-02-04 13:02:44 -080021
22#endif /* __MDIO_BOARD_INFO_H */