Skip to contentSkip to conversation

gpio: nomadik: fix the debugfs helper stub

PATCH Applied Bartosz Golaszewski 2 participants 3 messages Sep 15, 2025 – Sep 17, 2025 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: nomadik: fix the debugfs helper stub

From: Bartosz Golaszewski <[email protected]>

Commit ddeb66d2cb10 ("gpio: nomadik: don't print out global GPIO numbers in debugfs callbacks") failed to also update the stub of the debugfs helper for !CONFIG_DEBUG_FS. Fix the resulting build failure.

Fixes ddeb66d2cb10 ("gpio: nomadik: don't print out global GPIO numbers in debugfs callbacks")
---
 include/linux/gpio/gpio-nomadik.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/gpio/gpio-nomadik.h +1 -2
index 7ba53b499e16..592a774a53cd 100644
@@ -268,8 +268,7 @@ void nmk_gpio_dbg_show_one(struct seq_file *s, struct pinctrl_dev *pctldev,
 static inline void nmk_gpio_dbg_show_one(struct seq_file *s,
 					 struct pinctrl_dev *pctldev,
 					 struct gpio_chip *chip,
-					 unsigned int offset,
-					 unsigned int gpio)
+					 unsigned int offset)
 {
 }
 
Signature · 1 line
2.48.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

Commit ddeb66d2cb10 ("gpio: nomadik: don't print out global GPIO numbers in debugfs callbacks") failed to also update the stub of the debugfs helper for !CONFIG_DEBUG_FS. Fix the resulting build failure.

Fixes ddeb66d2cb10 ("gpio: nomadik: don't print out global GPIO numbers in debugfs callbacks")

Yours,
Linus Walleij

author Applied
#2 lore raw
In reply to Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

Quoted 5 lines · Bartosz Golaszewski

Commit ddeb66d2cb10 ("gpio: nomadik: don't print out global GPIO numbers in debugfs callbacks") failed to also update the stub of the debugfs helper for !CONFIG_DEBUG_FS. Fix the resulting build failure.

Applied, thanks!

[1/1] gpio: nomadik: fix the debugfs helper stub

      https://git.kernel.org/brgl/linux/c/0b1619c38600fc06c73b1f59c64af0b7df08fc2c

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>