summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/miiphy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/miiphy.h b/include/miiphy.h
index 2bb4f62ea76..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);