Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: crystalcove: Fix implicit declaration of function 'seq_printf' error

drivers/gpio/gpio-crystalcove.c: In function 'crystalcove_gpio_dbg_show':
drivers/gpio/gpio-crystalcove.c:286:3: error: implicit declaration of function 'seq_printf'
seq_printf(s, " gpio-%-2d %s %s %s %s ctlo=%2x,%s %s %s\n",

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

Lee Jones 8dbf2aa3 104fb1d5

+1
+1
drivers/gpio/gpio-crystalcove.c
··· 18 18 #include <linux/interrupt.h> 19 19 #include <linux/platform_device.h> 20 20 #include <linux/gpio.h> 21 + #include <linux/seq_file.h> 21 22 #include <linux/bitops.h> 22 23 #include <linux/regmap.h> 23 24 #include <linux/mfd/intel_soc_pmic.h>