Skip to contentSkip to conversation

phy: mvebu-cp110-comphy: fix spelling in structure name

PATCH In review Miquel Raynal 2 participants 2 messages Nov 23, 2018 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 phy: mvebu-cp110-comphy: fix spelling in structure name

Rename the mvebu_comhy_conf structure to be mvebu_comphy_conf, which is probably what the original author meant.

---

Changes since v1
================
* Removed the Fixes: tag after Antoine's request.

 drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/phy/marvell/phy-mvebu-cp110-comphy.c +2 -2
index 86a5f7b9448b..31b9a1c18345 100644
@@ -114,7 +114,7 @@
 #define MVEBU_COMPHY_LANES	6
 #define MVEBU_COMPHY_PORTS	3
 
-struct mvebu_comhy_conf {
+struct mvebu_comphy_conf {
 	enum phy_mode mode;
 	unsigned lane;
 	unsigned port;
@@ -129,7 +129,7 @@ struct mvebu_comhy_conf {
 		.mux = _mux,				\
 	}
 
-static const struct mvebu_comhy_conf mvebu_comphy_cp110_modes[] = {
+static const struct mvebu_comphy_conf mvebu_comphy_cp110_modes[] = {
 	/* lane 0 */
 	MVEBU_COMPHY_CONF(0, 1, PHY_MODE_SGMII, 0x1),
 	MVEBU_COMPHY_CONF(0, 1, PHY_MODE_2500SGMII, 0x1),
Signature · 1 line
2.19.1
Acked-by on v2 1/1
#1 lore raw

Hi Miquel,

Quoted 4 lines · Miquel Raynal

Rename the mvebu_comhy_conf structure to be mvebu_comphy_conf, which is probably what the original author meant.

Thanks!
Antoine

Quoted 35 lines

---

Changes since v1
================
* Removed the Fixes: tag after Antoine's request.

 drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/phy/marvell/phy-mvebu-cp110-comphy.c +2 -2
index 86a5f7b9448b..31b9a1c18345 100644
@@ -114,7 +114,7 @@
 #define MVEBU_COMPHY_LANES	6
 #define MVEBU_COMPHY_PORTS	3
 
-struct mvebu_comhy_conf {
+struct mvebu_comphy_conf {
 	enum phy_mode mode;
 	unsigned lane;
 	unsigned port;
@@ -129,7 +129,7 @@ struct mvebu_comhy_conf {
 		.mux = _mux,				\
 	}
 
-static const struct mvebu_comhy_conf mvebu_comphy_cp110_modes[] = {
+static const struct mvebu_comphy_conf mvebu_comphy_cp110_modes[] = {
 	/* lane 0 */
 	MVEBU_COMPHY_CONF(0, 1, PHY_MODE_SGMII, 0x1),
 	MVEBU_COMPHY_CONF(0, 1, PHY_MODE_2500SGMII, 0x1),
Signature · 1 line
2.19.1
Signature · 3 lines
Antoine Ténart, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com