diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-10-28 15:06:23 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-10-30 02:26:15 +0100 |
commit | f3ed0b66482fa2a0403280174a998487e9054867 (patch) | |
tree | bffc5b5c8c03d5346876a42e502e3a55c645fa6a /include | |
parent | gpiolib: include gpio/consumer.h in of_gpio.h for desc_to_gpio() (diff) | |
download | linux-f3ed0b66482fa2a0403280174a998487e9054867.tar.xz 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')
-rw-r--r-- | include/linux/gpio/driver.h | 1 |
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 |