Commit 7fe21f1e authored by Richard Acayan's avatar Richard Acayan Committed by Linus Walleij
Browse files

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: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202604080950.Mvm8aN0a-lkp@intel.com/


Fixes: 9826035a ("pinctrl: qcom: add sdm670 lpi tlmm")
Signed-off-by: default avatarRichard Acayan <mailingradian@gmail.com>
Signed-off-by: default avatarLinus Walleij <linusw@kernel.org>
parent 76481123
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ static const char * const pdm_sync_groups[] = { "gpio19" };
static const char * const pdm_tx_groups[] = { "gpio20" };
static const char * const slimbus_clk_groups[] = { "gpio18" };

const struct lpi_pingroup sdm670_lpi_pinctrl_groups[] = {
static const struct lpi_pingroup sdm670_lpi_pinctrl_groups[] = {
	LPI_PINGROUP(0, LPI_NO_SLEW, _, _, _, _),
	LPI_PINGROUP(1, LPI_NO_SLEW, _, _, _, _),
	LPI_PINGROUP(2, LPI_NO_SLEW, _, _, _, _),
@@ -115,7 +115,7 @@ const struct lpi_pingroup sdm670_lpi_pinctrl_groups[] = {
	LPI_PINGROUP(31, LPI_NO_SLEW, _, _, _, _),
};

const struct lpi_function sdm670_lpi_pinctrl_functions[] = {
static const struct lpi_function sdm670_lpi_pinctrl_functions[] = {
	LPI_FUNCTION(comp_rx),
	LPI_FUNCTION(dmic1_clk),
	LPI_FUNCTION(dmic1_data),