]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
gpiolib: provide a declaration of seq_file in gpio/driver.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Oct 2013 14:06:23 +0000 (01:06 +1100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Oct 2013 01:26:15 +0000 (18:26 -0700)
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>
include/linux/gpio/driver.h

index cd9da3885d79cd7d61b85dba7bf3e50714242e21..656a27efb2c8cdd755cd78e20a36e5dd028e5310 100644 (file)
@@ -5,6 +5,7 @@
 
 struct device;
 struct gpio_desc;
+struct seq_file;
 
 /**
  * struct gpio_chip - abstract a GPIO controller