From: Herbert Xu Date: Tue, 21 Apr 2020 05:42:09 +0000 (+1000) Subject: hwrng: cctrng - Add dependency on HAS_IOMEM X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3adbbd2295ad138ab95404d0ffc6bfc1b8f9f1e4;p=linux.git hwrng: cctrng - Add dependency on HAS_IOMEM The cctrng doesn't compile without HAS_IOMEM so we should depend on it. Reported-by: kbuild test robot Fixes: a583ed310bb6 ("hwrng: cctrng - introduce Arm CryptoCell driver") Signed-off-by: Herbert Xu Acked-by: Hadar Gat Signed-off-by: Herbert Xu --- diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 848f26f78dc19..0c99735df6949 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -476,6 +476,7 @@ config HW_RANDOM_KEYSTONE config HW_RANDOM_CCTRNG tristate "Arm CryptoCell True Random Number Generator support" + depends on HAS_IOMEM default HW_RANDOM help This driver provides support for the True Random Number