gpio: crystalcove: Fix implicit declaration of function 'seq_printf' error
authorLee Jones <lee.jones@linaro.org>
Thu, 19 Jun 2014 14:40:41 +0000 (15:40 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 19 Jun 2014 15:56:28 +0000 (16:56 +0100)
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>
drivers/gpio/gpio-crystalcove.c

index 5a9849943798d1731ff304ff3bac276ec40f5a4b..934462f5bd2224ef872fa4c155fe5998ff47e273 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
 #include <linux/gpio.h>
+#include <linux/seq_file.h>
 #include <linux/bitops.h>
 #include <linux/regmap.h>
 #include <linux/mfd/intel_soc_pmic.h>