diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-10-29 01:06:23 +1100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-10-29 18:26:15 -0700 |
commit | f3ed0b66482fa2a0403280174a998487e9054867 (patch) | |
tree | bffc5b5c8c03d5346876a42e502e3a55c645fa6a | |
parent | 335d7a7d63aa3a6da4d4903ef6e64de4a88f27da (diff) | |
download | linux-f3ed0b66482fa2a0403280174a998487e9054867.tar.bz2 |
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>
-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 |