Skip to content

Commit b369a60

Browse files
kishonrkhuangtao
authored andcommitted
UPSTREAM: phy: xgene: rename "enum phy_mode" to "enum xgene_phy_mode"
No functional change. Rename "enum phy_mode" to "enum xgene_phy_mode" in xgene phy driver in preparation for adding set_mode callback in phy core. Change-Id: I7e569e1fb82a308e79d30a80323e0c3c338dd68c Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Loc Ho <lho@apm.com> Signed-off-by: Huang, Tao <huangtao@rock-chips.com> (cherry picked from commit 65048f4)
1 parent c9db0ee commit b369a60

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/phy/phy-xgene.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ enum clk_type_t {
518518
CLK_INT_SING = 2, /* Internal single ended */
519519
};
520520

521-
enum phy_mode {
521+
enum xgene_phy_mode {
522522
MODE_SATA = 0, /* List them for simple reference */
523523
MODE_SGMII = 1,
524524
MODE_PCIE = 2,
@@ -542,7 +542,7 @@ struct xgene_sata_override_param {
542542
struct xgene_phy_ctx {
543543
struct device *dev;
544544
struct phy *phy;
545-
enum phy_mode mode; /* Mode of operation */
545+
enum xgene_phy_mode mode; /* Mode of operation */
546546
enum clk_type_t clk_type; /* Input clock selection */
547547
void __iomem *sds_base; /* PHY CSR base addr */
548548
struct clk *clk; /* Optional clock */

0 commit comments

Comments
 (0)