Skip to content

Commit

Permalink
hwrng: cctrng - Add dependency on OF
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hadar Gat authored and Herbert Xu committed May 8, 2020
1 parent 3f7819b commit 34d47aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/hw_random/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34d47aa

Please sign in to comment.