Re: [PATCH] drivers: rtc: Make xilinx zynqmp driver depend on HAS_IOMEM

2021-02-02 Thread Alexandre Belloni
On Tue, 26 Jan 2021 19:51:47 -0800, David Gow wrote: > 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 t

[PATCH] drivers: rtc: Make xilinx zynqmp driver depend on HAS_IOMEM

2021-01-26 Thread David Gow
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 d