Skip to contentSkip to conversation

pinctrl: qcom: sdm670: Staticize groups and functions

PATCH New Linus Walleij 1 participant 1 message Apr 9

Subsystems (5)
lore
Share & tools
lore

Linus Walleij

author maintainer
#0 lore raw

PATCH 1/1 pinctrl: qcom: sdm670: Staticize groups and functions

The kernel test robot complains about undeclared local functions. Fix it up.

---
 drivers/pinctrl/qcom/pinctrl-sdm670-lpass-lpi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/pinctrl/qcom/pinctrl-sdm670-lpass-lpi.c +2 -2
index 6270c6d09c22..858146c408d0 100644
@@ -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),

---
base-commit: 7648112358a4207916d3e38bfee49f85552fe95f
change-id: 20260409-fix-sdm670-f1c6549c15c7

Best regards,

Signature · 1 line
Linus Walleij <[email protected]>