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>
This commit is contained in:
Hadar Gat 2020-04-27 14:36:02 +03:00 committed by Herbert Xu
parent 3f7819bd42
commit 34d47aab06

View File

@ -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