diff options
author | 2014-02-04 13:42:10 +0100 | |
---|---|---|
committer | 2014-02-06 10:22:56 +0100 | |
commit | a3485d088516be4c2ae2890e8ad64321481f2857 (patch) | |
tree | 4fe10e70f6899af60119f01ae0de50ca74ab1e65 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: tb10x: GPIO_TB10X needs to select GENERIC_IRQ_CHIP (diff) | |
download | linux-dev-a3485d088516be4c2ae2890e8ad64321481f2857.tar.xz linux-dev-a3485d088516be4c2ae2890e8ad64321481f2857.zip |
gpio: consumer.h: Move forward declarations outside #ifdef
Make sure that the forward declared structs in gpio/consumer.h are also visible
on the else branch of the CONFIG_GPIOLIB #ifdef.
Fixes the following warnings and their associated errors when CONFIG_GPIOLIB is
not selected:
include/linux/gpio/consumer.h:67:14: warning: 'struct device' declared inside parameter list
include/linux/gpio/consumer.h:67:14: warning: its scope is only this definition or declaration, which is probably not what you want
[...]
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions