phy: qcom-qmp-usb: statify qmp_phy_vreg_l
authorVinod Koul <vkoul@kernel.org>
Fri, 8 Jul 2022 05:20:59 +0000 (10:50 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 15 Jul 2022 11:50:03 +0000 (17:20 +0530)
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>
Link: https://lore.kernel.org/r/20220708052059.3049443-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c

index c77e427..4b18289 100644 (file)
@@ -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 },
 };