UPSTREAM: clk: versatile: Depend on HAS_IOMEM

kbuild robot reports that s390 fails to build this driver with
COMPILE_TEST. Let's depend on HAS_IOMEM so that s390 doesn't try to
build it.

Bug: 254441685
Cc: Lee Jones <lee.jones@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 419b3ab698 ("clk: versatile: remove dependency on ARCH_*")
Link: https://lore.kernel.org/r/20210604192321.2594519-1-sboyd@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
(cherry picked from commit 51c8b49762)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I7ca8d5d08894b5f18a6007b11152c498c6037162
This commit is contained in:
Stephen Boyd
2021-06-04 12:20:22 -07:00
committed by Lee Jones
parent 7a81ba1e08
commit fcc95f9aa8

View File

@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
menu "Clock driver for ARM Reference designs"
depends on HAS_IOMEM
config ICST
bool "Clock driver for ARM Reference designs ICST"