Skip to contentSkip to conversation

phy: qcom-qmp-usb: statify qmp_phy_vreg_l

PATCH New Vinod Koul 1 participant 1 message Jul 8, 2022

Subsystems (2)
lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

PATCH 1/1 phy: qcom-qmp-usb: statify qmp_phy_vreg_l

qmp_phy_vreg_l should be marked static, this resolves warning:

drivers/phy/qualcomm/phy-qcom-qmp-combo.c:616:27: warning: symbol 'qmp_phy_vreg_l' was not declared. Should it be static?

---
 drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +1 -1
index c77e427a74cf..4b1828976104 100644
@@ -613,7 +613,7 @@ struct qmp_regulator_data {
 	unsigned int enable_load;
 };
 
-struct qmp_regulator_data qmp_phy_vreg_l[] = {
+static struct qmp_regulator_data qmp_phy_vreg_l[] = {
 	{ .name = "vdda-phy", .enable_load = 21800 },
 	{ .name = "vdda-pll", .enable_load = 36000 },
 };
Signature · 1 line
2.36.1