summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-01-11 16:59:16 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-13 07:54:10 +0100
commit21b30a200977bd397704eab778bc52e921b2f3e3 (patch)
tree4e8dce257775f51b3720d576ec34cb37ccdffe70
parentdb4b34e77128d30965a29873c4e3f81ceb55825e (diff)
downloadbarebox-21b30a200977bd397704eab778bc52e921b2f3e3.tar.gz
net/phy: marvell: rename phy_driver array to match Linux driver
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/net/phy/marvell.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index c4d9c7f..ee95c2d 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -237,7 +237,7 @@ static int m88e1318s_config_init(struct phy_device *phydev)
return m88e1121_config_init(phydev);
}
-static struct phy_driver marvell_phys[] = {
+static struct phy_driver marvell_drivers[] = {
{
.phy_id = MARVELL_PHY_ID_88E1121R,
.phy_id_mask = MARVELL_PHY_ID_MASK,
@@ -278,6 +278,7 @@ static struct phy_driver marvell_phys[] = {
static int __init marvell_phy_init(void)
{
- return phy_drivers_register(marvell_phys, ARRAY_SIZE(marvell_phys));
+ return phy_drivers_register(marvell_drivers,
+ ARRAY_SIZE(marvell_drivers));
}
fs_initcall(marvell_phy_init);