Message ID | 20230824092356.1154839-1-yangyingliang@huawei.com |
---|---|
State | Accepted |
Commit | 426e05ce126e8febc21fae643139a1072d2670ad |
Headers | show |
Series | [-next] phy: qcom: phy-qcom-m31: change m31_ipq5332_regs to static | expand |
On Thu, Aug 24, 2023 at 05:23:56PM +0800, Yang Yingliang wrote: > m31_ipq5332_regs is only used in phy-qcom-m31.c now, change > it to static. > > Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> > --- > drivers/phy/qualcomm/phy-qcom-m31.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/phy/qualcomm/phy-qcom-m31.c b/drivers/phy/qualcomm/phy-qcom-m31.c > index 99d570f4142a..014278e5428c 100644 > --- a/drivers/phy/qualcomm/phy-qcom-m31.c > +++ b/drivers/phy/qualcomm/phy-qcom-m31.c > @@ -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, Reviewed-by: Varadarajan Narayanan <quic_varada@quicinc.com> Thanks Varada > -- > 2.25.1 >
On Thu, 24 Aug 2023 17:23:56 +0800, Yang Yingliang wrote: > m31_ipq5332_regs is only used in phy-qcom-m31.c now, change > it to static. > > Applied, thanks! [1/1] phy: qcom: phy-qcom-m31: change m31_ipq5332_regs to static commit: 426e05ce126e8febc21fae643139a1072d2670ad Best regards,
diff --git a/drivers/phy/qualcomm/phy-qcom-m31.c b/drivers/phy/qualcomm/phy-qcom-m31.c index 99d570f4142a..014278e5428c 100644 --- a/drivers/phy/qualcomm/phy-qcom-m31.c +++ b/drivers/phy/qualcomm/phy-qcom-m31.c @@ -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,
m31_ipq5332_regs is only used in phy-qcom-m31.c now, change it to static. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> --- drivers/phy/qualcomm/phy-qcom-m31.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)