]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
clk: versatile: Depend on HAS_IOMEM
authorStephen Boyd <sboyd@kernel.org>
Fri, 4 Jun 2021 19:20:22 +0000 (12:20 -0700)
committerStephen Boyd <sboyd@kernel.org>
Fri, 4 Jun 2021 19:23:28 +0000 (12:23 -0700)
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.

Cc: Lee Jones <lee.jones@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 419b3ab6987f ("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>
drivers/clk/versatile/Kconfig

index 792315d893db300b4b8d676ee72d3f2f1cb3cfc8..481de5657d85457b96373434907aa9a1777e6215 100644 (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"