Skip to content

Commit 7fe21f1

Browse files
flamingradianlinusw
authored andcommitted
pinctrl: qcom: sdm670-lpass-lpi: label variables as static
These variables are local to the driver and have no need to be exported to the global namespace. Label them as static to fix compiler warnings. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202604080950.Mvm8aN0a-lkp@intel.com/ Fixes: 9826035 ("pinctrl: qcom: add sdm670 lpi tlmm") Signed-off-by: Richard Acayan <mailingradian@gmail.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
1 parent 7648112 commit 7fe21f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/pinctrl/qcom/pinctrl-sdm670-lpass-lpi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static const char * const pdm_sync_groups[] = { "gpio19" };
8080
static const char * const pdm_tx_groups[] = { "gpio20" };
8181
static const char * const slimbus_clk_groups[] = { "gpio18" };
8282

83-
const struct lpi_pingroup sdm670_lpi_pinctrl_groups[] = {
83+
static const struct lpi_pingroup sdm670_lpi_pinctrl_groups[] = {
8484
LPI_PINGROUP(0, LPI_NO_SLEW, _, _, _, _),
8585
LPI_PINGROUP(1, LPI_NO_SLEW, _, _, _, _),
8686
LPI_PINGROUP(2, LPI_NO_SLEW, _, _, _, _),
@@ -115,7 +115,7 @@ const struct lpi_pingroup sdm670_lpi_pinctrl_groups[] = {
115115
LPI_PINGROUP(31, LPI_NO_SLEW, _, _, _, _),
116116
};
117117

118-
const struct lpi_function sdm670_lpi_pinctrl_functions[] = {
118+
static const struct lpi_function sdm670_lpi_pinctrl_functions[] = {
119119
LPI_FUNCTION(comp_rx),
120120
LPI_FUNCTION(dmic1_clk),
121121
LPI_FUNCTION(dmic1_data),

0 commit comments

Comments
 (0)