]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
phy: qcom-ufs: Make ufs_qcom_phy_disable_iface_clk static
authorYueHaibing <yuehaibing@huawei.com>
Tue, 19 Mar 2019 15:27:38 +0000 (23:27 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Apr 2019 04:59:49 +0000 (10:29 +0530)
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>
drivers/phy/qualcomm/phy-qcom-ufs.c

index f2979ccad00a3ce26d2d92121c11828630a9b897..78c339b2fc8bdf1a45890013922320848a88f62a 100644 (file)
@@ -459,7 +459,7 @@ static int ufs_qcom_phy_enable_iface_clk(struct ufs_qcom_phy *phy)
 }
 
 /* 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);