summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-11-27 08:49:40 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-12-04 10:13:14 +0300
commita1315dcb7b6a7d3a78df848eed5b331a4b3ec28a (patch)
tree28fd895df716774f775ec57c785e15c9f395d051 /drivers/char
parentce0d5d63e897cc7c3a8fd043c7942fc6a78ec6f4 (diff)
downloadlinux-a1315dcb7b6a7d3a78df848eed5b331a4b3ec28a.tar.xz
hwrng: ks-sa - Add dependency on IOMEM and OF
This patch adds a dependency for KEYSTONE on HAS_IOMEM and OF to prevent COMPILE_TEST build failures. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-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 eb0d51a78b44..17c1df8c909a 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -495,6 +495,7 @@ config HW_RANDOM_NPCM
config HW_RANDOM_KEYSTONE
depends on ARCH_KEYSTONE || COMPILE_TEST
+ depends on HAS_IOMEM && OF
default HW_RANDOM
tristate "TI Keystone NETCP SA Hardware random number generator"
help