reset: intel: add unspecified HAS_IOMEM dependency
authorBrendan Higgins <brendanhiggins@google.com>
Mon, 27 Jan 2020 23:53:54 +0000 (15:53 -0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 10 Feb 2020 10:11:55 +0000 (11:11 +0100)
commitb460e0a9e2404450a0cc4c5e6476483d6cda1b26
treec167c8fd5452b934ddfefb6e1609458e4722a256
parent7fbcc53514c5e410dd598685c5fbbe1e6a5a87e1
reset: intel: add unspecified HAS_IOMEM dependency

Currently CONFIG_RESET_INTEL_GW=y implicitly depends on
CONFIG_HAS_IOMEM=y; consequently, on architectures without IOMEM we get
the following build error:

/usr/bin/ld: drivers/reset/reset-intel-gw.o: in function `intel_reset_probe':
drivers/reset/reset-intel-gw.c:185: undefined reference to `devm_platform_ioremap_resource'

Fix the build error by adding the unspecified dependency.

Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/Kconfig