]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commitf3ed0b66482fa2a0403280174a998487e9054867
treebffc5b5c8c03d5346876a42e502e3a55c645fa6a
parent335d7a7d63aa3a6da4d4903ef6e64de4a88f27da
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>
include/linux/gpio/driver.h