2020-08-03 08:51:29

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] clk: hsdk: Fix bad dependency on IOMEM

CONFIG_IOMEM does not exist. The correct symbol to depend on is
CONFIG_HAS_IOMEM.

Fixes: 1e7468bd9d30a21e ("clk: Specify IOMEM dependency for HSDK pll driver")
Signed-off-by: Geert Uytterhoeven <[email protected]>
---
drivers/clk/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 326f91b2dda9fdc4..5f952e111ab5a6f8 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -50,7 +50,7 @@ source "drivers/clk/versatile/Kconfig"
config CLK_HSDK
bool "PLL Driver for HSDK platform"
depends on OF || COMPILE_TEST
- depends on IOMEM
+ depends on HAS_IOMEM
help
This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs
control.
--
2.17.1


2020-08-03 20:53:38

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: hsdk: Fix bad dependency on IOMEM

Quoting Geert Uytterhoeven (2020-08-03 01:48:35)
> CONFIG_IOMEM does not exist. The correct symbol to depend on is
> CONFIG_HAS_IOMEM.
>
> Fixes: 1e7468bd9d30a21e ("clk: Specify IOMEM dependency for HSDK pll driver")
> Signed-off-by: Geert Uytterhoeven <[email protected]>
> ---

Applied to clk-next