summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-06-19 15:40:41 +0100
committerLee Jones <lee.jones@linaro.org>2014-06-19 16:56:28 +0100
commit8dbf2aa3c308ade864261e8047b0dce1f4ed9a7e (patch)
tree65be719621a8bdecdb923e43c47c2df4b0d2ab13 /drivers/gpio
parent104fb1d5153c563f453cb9c048fa0a17318a2348 (diff)
downloadtalos-obmc-linux-8dbf2aa3c308ade864261e8047b0dce1f4ed9a7e.tar.gz
talos-obmc-linux-8dbf2aa3c308ade864261e8047b0dce1f4ed9a7e.zip
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-crystalcove.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c
index 5a9849943798..934462f5bd22 100644
--- a/drivers/gpio/gpio-crystalcove.c
+++ b/drivers/gpio/gpio-crystalcove.c
@@ -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>
OpenPOWER on IntegriCloud