]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: make memory-mapped drivers depend on HAS_IOMEM
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Oct 2016 07:46:58 +0000 (09:46 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Oct 2016 07:53:00 +0000 (09:53 +0200)
commitf15f82059c9298b5dd9ac7f04319aa3f4193b2fe
tree1affe2a1436f9a820b746b71b722d8cb8201f3e2
parentdc408b571feeca180cce10676b1d6fcf560093e0
gpio: make memory-mapped drivers depend on HAS_IOMEM

This one is pretty obvious: on UM Linux compilation of things
like allmodconfig and allyesconfig will fail due to the
absence of IO memory. Simply make these drivers depend on
HAS_IOMEM, it has been implicitly assumed all the time, so
just make it explicit.

The generic MMIO library also assumes that IOMEM is present
so make also this depend on HAS_IOMEM.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig