gpio: nomadik: fix the debugfs helper stub
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.
--- include/linux/gpio/gpio-nomadik.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/gpio/gpio-nomadik.h +1 -2
@@ -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
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")Reported-by kernel test robot <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Yours,
Linus Walleij
Bartosz Golaszewski
AppliedFrom: 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]>