summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/Kconfig
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-04-21 07:42:09 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-04-22 15:28:55 +0200
commit3adbbd2295ad138ab95404d0ffc6bfc1b8f9f1e4 (patch)
tree70ea71921e3fd1a0123a3ae3b31d4454b3836b31 /drivers/char/hw_random/Kconfig
parentcrypto: hisilicon/qm - add more ACPI dependencies (diff)
downloadlinux-3adbbd2295ad138ab95404d0ffc6bfc1b8f9f1e4.tar.xz
linux-3adbbd2295ad138ab95404d0ffc6bfc1b8f9f1e4.zip
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 <lkp@intel.com> Fixes: a583ed310bb6 ("hwrng: cctrng - introduce Arm CryptoCell driver") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Hadar Gat <hadar.gat@arm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/Kconfig')
-rw-r--r--drivers/char/hw_random/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 848f26f78dc1..0c99735df694 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