Florian Fainelli | 648ea01 | 2017-02-04 13:02:44 -0800 | [diff] [blame^] | 1 | /* |
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 | |||||
12 | struct mdio_board_entry { | ||||
13 | struct list_head list; | ||||
14 | struct mdio_board_info board_info; | ||||
15 | }; | ||||
16 | |||||
17 | void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus); | ||||
18 | |||||
19 | #endif /* __MDIO_BOARD_INFO_H */ |