[PATCH v1 3/7] net/phy: marvell: rename phy_driver array to match Linux driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
---
 drivers/net/phy/marvell.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index c4d9c7fe493a..ee95c2db570c 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);
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux