]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
gpio: nomadik: fix the debugfs helper stub
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 15 Sep 2025 09:10:07 +0000 (11:10 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 17 Sep 2025 08:55:57 +0000 (10:55 +0200)
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")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202509132232.12viPUPB-lkp@intel.com/
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250915091007.28438-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
include/linux/gpio/gpio-nomadik.h

index 7ba53b499e164edf410475cf62d60f399aaaa0c7..592a774a53cdf5893c2128381d528aad7533d2ae 100644 (file)
@@ -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)
 {
 }