Files
linux-stable-mirror/drivers/rtc
David Gow ddd0521549 rtc: zynqmp: depend on HAS_IOMEM
The Xilinx zynqmp RTC driver makes use of IOMEM functions like
devm_platform_ioremap_resource(), which are only available if
CONFIG_HAS_IOMEM is defined.

This causes the driver not to be enable under make ARCH=um allyesconfig,
even though it won't build.

By adding a dependency on HAS_IOMEM, the driver will not be enabled on
architectures which don't support it.

Fixes: 09ef18bcd5 ("rtc: use devm_platform_ioremap_resource() to simplify code")
Signed-off-by: David Gow <davidgow@google.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210127035146.1523286-1-davidgow@google.com
2021-02-03 00:55:01 +01:00
..
2021-01-16 23:19:26 +01:00
2021-01-16 23:19:26 +01:00
2021-02-03 00:55:01 +01:00
2021-01-23 14:57:21 +01:00
2021-01-16 23:19:26 +01:00
2021-01-16 23:19:26 +01:00
2020-11-19 12:52:25 +01:00
2021-01-16 23:19:26 +01:00
2020-12-03 23:43:23 +01:00