aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2024-03-10 00:24:37 +0100
committerLinus Walleij <linus.walleij@linaro.org>2024-03-10 00:28:31 +0100
commite1d3de7aabfac00d4d06d83d69c78c32e2e05f08 (patch)
treeb7df4d79dc03f839da45bd0a1f53dc3ddd575a05
parentd295ad7ef0137b292289dc214b27993ddffeae15 (diff)
gpio: nomadik: Fix debugfs without debugfssent/fix-nmk-debugfs-v2
When the code was extracted from the pin control driver the non-debugfs compile path forgot to take into account that this function is no longer static but shared. Fix it by making it a non-static stub. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202403091024.OZ4KCPBL-lkp@intel.com/ Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--drivers/gpio/gpio-nomadik.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpio/gpio-nomadik.c b/drivers/gpio/gpio-nomadik.c
index 463a765620dc..7ea630f70ce3 100644
--- a/drivers/gpio/gpio-nomadik.c
+++ b/drivers/gpio/gpio-nomadik.c
@@ -486,11 +486,11 @@ static void nmk_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip)
#else
-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)
+void nmk_gpio_dbg_show_one(struct seq_file *s,
+ struct pinctrl_dev *pctldev,
+ struct gpio_chip *chip,
+ unsigned int offset,
+ unsigned int gpio)
{
}