]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
phy: qcom: phy-qcom-m31: change m31_ipq5332_regs to static
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 24 Aug 2023 09:23:56 +0000 (17:23 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 21 Sep 2023 14:05:30 +0000 (16:05 +0200)
m31_ipq5332_regs is only used in phy-qcom-m31.c now, change
it to static.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Varadarajan Narayanan <quic_varada@quicinc.com>
Link: https://lore.kernel.org/r/20230824092356.1154839-1-yangyingliang@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-m31.c

index 99d570f4142a4227898d691cf2184ee619122093..014278e5428c9c93c923b9e10729b151e9a73b83 100644 (file)
@@ -82,7 +82,7 @@ struct m31_priv_data {
        unsigned int                    nregs;
 };
 
-struct m31_phy_regs m31_ipq5332_regs[] = {
+static struct m31_phy_regs m31_ipq5332_regs[] = {
        {
                USB_PHY_CFG0,
                UTMI_PHY_OVERRIDE_EN,