summaryrefslogtreecommitdiffstats
path: root/commands/miitool.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/miitool.c')
-rw-r--r--commands/miitool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/miitool.c b/commands/miitool.c
index 07bce18651..1a46037f29 100644
--- a/commands/miitool.c
+++ b/commands/miitool.c
@@ -225,7 +225,8 @@ static int show_basic_mii(struct mii_bus *mii, struct phy_device *phydev,
return 0;
}
-static void mdiobus_show(struct device_d *dev, char *phydevname, int verbose)
+static void mdiobus_show(struct device_d *dev, const char *phydevname,
+ int verbose)
{
struct mii_bus *mii = to_mii_bus(dev);
int i;