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.
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: default avatarLoc Ho <lho@apm.com>
parent 1a695a90
...@@ -518,7 +518,7 @@ enum clk_type_t { ...@@ -518,7 +518,7 @@ enum clk_type_t {
CLK_INT_SING = 2, /* Internal single ended */ CLK_INT_SING = 2, /* Internal single ended */
}; };
enum phy_mode { enum xgene_phy_mode {
MODE_SATA = 0, /* List them for simple reference */ MODE_SATA = 0, /* List them for simple reference */
MODE_SGMII = 1, MODE_SGMII = 1,
MODE_PCIE = 2, MODE_PCIE = 2,
...@@ -542,7 +542,7 @@ struct xgene_sata_override_param { ...@@ -542,7 +542,7 @@ struct xgene_sata_override_param {
struct xgene_phy_ctx { struct xgene_phy_ctx {
struct device *dev; struct device *dev;
struct phy *phy; struct phy *phy;
enum phy_mode mode; /* Mode of operation */ enum xgene_phy_mode mode; /* Mode of operation */
enum clk_type_t clk_type; /* Input clock selection */ enum clk_type_t clk_type; /* Input clock selection */
void __iomem *sds_base; /* PHY CSR base addr */ void __iomem *sds_base; /* PHY CSR base addr */
struct clk *clk; /* Optional clock */ struct clk *clk; /* Optional clock */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment