summaryrefslogtreecommitdiffstats
path: root/drivers/phy/qualcomm
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-03-19 16:27:38 +0100
committerKishon Vijay Abraham I <kishon@ti.com>2019-04-17 06:59:49 +0200
commite0c546fa72a9b66deb80a2623ffc8b5237840e1b (patch)
tree33336c7ac05fa014fe6cb979056ba3ba88159c8d /drivers/phy/qualcomm
parentphy: rockchip-typec: Make usb3_pll_cfg and dp_pll_cfg static (diff)
downloadlinux-e0c546fa72a9b66deb80a2623ffc8b5237840e1b.tar.xz
linux-e0c546fa72a9b66deb80a2623ffc8b5237840e1b.zip
phy: qcom-ufs: Make ufs_qcom_phy_disable_iface_clk static
Fix sparse warning: drivers/phy/qualcomm/phy-qcom-ufs.c:462:6: warning: symbol 'ufs_qcom_phy_disable_iface_clk' was not declared. Should it be static? Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/qualcomm')
-rw-r--r--drivers/phy/qualcomm/phy-qcom-ufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-ufs.c b/drivers/phy/qualcomm/phy-qcom-ufs.c
index f2979ccad00a..78c339b2fc8b 100644
--- a/drivers/phy/qualcomm/phy-qcom-ufs.c
+++ b/drivers/phy/qualcomm/phy-qcom-ufs.c
@@ -459,7 +459,7 @@ out:
}
/* Turn OFF M-PHY RMMI interface clocks */
-void ufs_qcom_phy_disable_iface_clk(struct ufs_qcom_phy *phy)
+static void ufs_qcom_phy_disable_iface_clk(struct ufs_qcom_phy *phy)
{
if (phy->is_iface_clk_enabled) {
clk_disable_unprepare(phy->tx_iface_clk);