diff options
author | Hadar Gat <hadar.gat@arm.com> | 2020-04-27 14:36:02 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-08 15:30:40 +1000 |
commit | 34d47aab066544050089093a4179a95718be7002 (patch) | |
tree | cbb015b531cfa35e768359effde73e108d0c1fcb /drivers/char | |
parent | 3f7819bd42153b6df04af40dfa3439ce71ce4ad1 (diff) |
hwrng: cctrng - Add dependency on OF
The cctrng is unusable on non-DT systems so we should depend
on it.
Signed-off-by: Hadar Gat <hadar.gat@arm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 0c99735df694..34047169bd06 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -476,7 +476,7 @@ config HW_RANDOM_KEYSTONE config HW_RANDOM_CCTRNG tristate "Arm CryptoCell True Random Number Generator support" - depends on HAS_IOMEM + depends on HAS_IOMEM && OF default HW_RANDOM help This driver provides support for the True Random Number |