summaryrefslogtreecommitdiffstats
path: root/include/linux/gpio
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2013-10-29 01:06:23 +1100
committerLinus Walleij <linus.walleij@linaro.org>2013-10-29 18:26:15 -0700
commitf3ed0b66482fa2a0403280174a998487e9054867 (patch)
treebffc5b5c8c03d5346876a42e502e3a55c645fa6a /include/linux/gpio
parent335d7a7d63aa3a6da4d4903ef6e64de4a88f27da (diff)
downloadblackbird-op-linux-f3ed0b66482fa2a0403280174a998487e9054867.tar.gz
blackbird-op-linux-f3ed0b66482fa2a0403280174a998487e9054867.zip
gpiolib: provide a declaration of seq_file in gpio/driver.h
Fixes this build error: In file included from include/asm-generic/gpio.h:13:0, from include/linux/gpio.h:51, from include/linux/of_gpio.h:20, from arch/powerpc/sysdev/ppc4xx_gpio.c:29: include/linux/gpio/driver.h:85:14: error: 'struct seq_file' declared inside= parameter list [-Werror] include/linux/gpio/driver.h:85:14: error: its scope is only this definition= or declaration, which is probably not what you want [-Werror] Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/gpio')
-rw-r--r--include/linux/gpio/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index cd9da3885d79..656a27efb2c8 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -5,6 +5,7 @@
struct device;
struct gpio_desc;
+struct seq_file;
/**
* struct gpio_chip - abstract a GPIO controller
OpenPOWER on IntegriCloud