diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-04-18 21:36:33 +0800 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-06-21 10:51:14 +0530 |
commit | 1853bc0ae64b035ba49d285cf8d3fb4991e7872e (patch) | |
tree | 382ea8c385c36a9d0af6199f52eac3515dce5425 /drivers/phy | |
parent | c7a787de7f3f3639b259d13190376af38068515c (diff) | |
download | linux-1853bc0ae64b035ba49d285cf8d3fb4991e7872e.tar.gz linux-1853bc0ae64b035ba49d285cf8d3fb4991e7872e.tar.bz2 linux-1853bc0ae64b035ba49d285cf8d3fb4991e7872e.zip |
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: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/ti/phy-am654-serdes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/ti/phy-am654-serdes.c b/drivers/phy/ti/phy-am654-serdes.c index d3769200cb9b..f8edd0840fa2 100644 --- a/drivers/phy/ti/phy-am654-serdes.c +++ b/drivers/phy/ti/phy-am654-serdes.c @@ -247,8 +247,8 @@ static void serdes_am654_release(struct phy *x) mux_control_deselect(phy->control); } -struct phy *serdes_am654_xlate(struct device *dev, struct of_phandle_args - *args) +static struct phy *serdes_am654_xlate(struct device *dev, + struct of_phandle_args *args) { struct serdes_am654 *am654_phy; struct phy *phy; |