summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-06-08 10:58:20 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-06-08 10:58:20 +0200
commit7d4defe21c682c934a19fce1ba8b54b7bde61b08 (patch)
treecb7efb39578e7bba79b20938a28ee3443f7eeb17 /drivers/gpio/Kconfig
parentf4833b8cc7edab57d3f3033e549111a546c2e02b (diff)
downloadlinux-7d4defe21c682c934a19fce1ba8b54b7bde61b08.tar.bz2
gpio: include <linux/io-mapping.h> in gpiolib-of
When enabling the gpiolib for all archs a build robot came up with this: All errors (new ones prefixed by >>): drivers/gpio/gpiolib-of.c: In function 'of_mm_gpiochip_add_data': >> drivers/gpio/gpiolib-of.c:317:2: error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration] iounmap(mm_gc->regs); ^~~~~~~ cc1: some warnings being treated as errors Fix this by including <linux/io-mapping.h> explicitly. Fixes: 296ad4acb8ef ("gpio: remove deps on ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB") Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
0 files changed, 0 insertions, 0 deletions