Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH] phy: qcom-qmp-usb: statify qmp_phy_vreg_l
@ 2022-07-08  5:20 Vinod Koul
  0 siblings, 0 replies; only message in thread
From: Vinod Koul @ 2022-07-08  5:20 UTC (permalink / raw)
  To: Kishon Vijay Abraham I
  Cc: linux-phy, Vinod Koul, Andy Gross, Bjorn Andersson, linux-arm-msm,
	linux-kernel, Dmitry Baryshkov

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?

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c
index c77e427a74cf..4b1828976104 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c
@@ -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 },
 };
-- 
2.36.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-08  5:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-08  5:20 [PATCH] phy: qcom-qmp-usb: statify qmp_phy_vreg_l Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox