Commit 1853bc0a authored by YueHaibing's avatar YueHaibing Committed by Kishon Vijay Abraham I

phy: ti: am654-serdes: Make serdes_am654_xlate() static

Fix sparse warning:

drivers/phy/ti/phy-am654-serdes.c:250:12: warning:
 symbol 'serdes_am654_xlate' was not declared. Should it be static?
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Acked-by: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent c7a787de
...@@ -247,8 +247,8 @@ static void serdes_am654_release(struct phy *x) ...@@ -247,8 +247,8 @@ static void serdes_am654_release(struct phy *x)
mux_control_deselect(phy->control); mux_control_deselect(phy->control);
} }
struct phy *serdes_am654_xlate(struct device *dev, struct of_phandle_args static struct phy *serdes_am654_xlate(struct device *dev,
*args) struct of_phandle_args *args)
{ {
struct serdes_am654 *am654_phy; struct serdes_am654 *am654_phy;
struct phy *phy; struct phy *phy;
......
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