diff options
| author | Tom Rini <[email protected]> | 2025-01-29 19:06:55 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-01-29 19:06:55 -0600 |
| commit | 9f5d1863e99c3a33893381cc924f25797b4b6f8a (patch) | |
| tree | dbe294ae09eabada4aabfbcb28785a0397d4b512 /include | |
| parent | 021baf7b08cceb58bb850859dba1614424e16a83 (diff) | |
| parent | e0df073bc0df843e0a3c5f9990defcbf2207c8b9 (diff) | |
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh
Diffstat (limited to 'include')
| -rw-r--r-- | include/miiphy.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/miiphy.h b/include/miiphy.h index 5abffd8fb6b..1e6c7041fdc 100644 --- a/include/miiphy.h +++ b/include/miiphy.h @@ -64,7 +64,7 @@ void mdio_list_devices(void); #define BB_MII_DEVNAME "bb_miiphy" struct bb_miiphy_bus { - char name[16]; + char name[MDIO_NAME_LEN]; int (*init)(struct bb_miiphy_bus *bus); int (*mdio_active)(struct bb_miiphy_bus *bus); int (*mdio_tristate)(struct bb_miiphy_bus *bus); @@ -72,9 +72,7 @@ struct bb_miiphy_bus { int (*get_mdio)(struct bb_miiphy_bus *bus, int *v); int (*set_mdc)(struct bb_miiphy_bus *bus, int v); int (*delay)(struct bb_miiphy_bus *bus); -#ifdef CONFIG_BITBANGMII_MULTI void *priv; -#endif }; extern struct bb_miiphy_bus bb_miiphy_buses[]; |
