[PATCH -next] phy: qcom: phy-qcom-m31: change m31_ipq5332_regs to static

Varadarajan Narayanan quic_varada at quicinc.com
Thu Aug 24 04:33:43 PDT 2023


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 at 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 at quicinc.com>

Thanks
Varada

> --
> 2.25.1
>



More information about the linux-phy mailing list