summaryrefslogtreecommitdiffstats
path: root/drivers/phy/mscc/phy-ocelot-serdes.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phy/mscc/phy-ocelot-serdes.c')
-rw-r--r--drivers/phy/mscc/phy-ocelot-serdes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/mscc/phy-ocelot-serdes.c b/drivers/phy/mscc/phy-ocelot-serdes.c
index d9443e865a..1cd1b5db2a 100644
--- a/drivers/phy/mscc/phy-ocelot-serdes.c
+++ b/drivers/phy/mscc/phy-ocelot-serdes.c
@@ -441,7 +441,7 @@ static const struct phy_ops serdes_ops = {
};
static struct phy *serdes_simple_xlate(struct device *dev,
- struct of_phandle_args *args)
+ const struct of_phandle_args *args)
{
struct serdes_ctrl *ctrl = dev_get_drvdata(dev);
unsigned int port, idx, i;