Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: 9826035a75da ("pinctrl: qcom: add sdm670 lpi tlmm")
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>

authored by

Richard Acayan and committed by
Linus Walleij
7fe21f1e 76481123

+2 -2
+2 -2
drivers/pinctrl/qcom/pinctrl-sdm670-lpass-lpi.c
··· 80 80 static const char * const pdm_tx_groups[] = { "gpio20" }; 81 81 static const char * const slimbus_clk_groups[] = { "gpio18" }; 82 82 83 - const struct lpi_pingroup sdm670_lpi_pinctrl_groups[] = { 83 + static const struct lpi_pingroup sdm670_lpi_pinctrl_groups[] = { 84 84 LPI_PINGROUP(0, LPI_NO_SLEW, _, _, _, _), 85 85 LPI_PINGROUP(1, LPI_NO_SLEW, _, _, _, _), 86 86 LPI_PINGROUP(2, LPI_NO_SLEW, _, _, _, _), ··· 115 115 LPI_PINGROUP(31, LPI_NO_SLEW, _, _, _, _), 116 116 }; 117 117 118 - const struct lpi_function sdm670_lpi_pinctrl_functions[] = { 118 + static const struct lpi_function sdm670_lpi_pinctrl_functions[] = { 119 119 LPI_FUNCTION(comp_rx), 120 120 LPI_FUNCTION(dmic1_clk), 121 121 LPI_FUNCTION(dmic1_data),