aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2023-01-27 19:03:21 +0800
committerHerbert Xu <[email protected]>2023-02-03 12:55:59 +0800
commitc7410b425de40e9b163eef781e1bdacf1bf2962e (patch)
treeac677627b1ab2f82f6121f8a45b9cf961e654931
parentdd7b7972cb896c33f20915f7c89173b3927340e5 (diff)
hwrng: starfive - Enable compile testing
Enable compile testing for jh7110. Also remove the dependency on HW_RANDOM. Signed-off-by: Herbert Xu <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Reviewed-by: Jia Jie Ho <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
-rw-r--r--drivers/char/hw_random/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index be202959efa6..4fdf07ae3c54 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -551,8 +551,7 @@ config HW_RANDOM_CN10K
config HW_RANDOM_JH7110
tristate "StarFive JH7110 Random Number Generator support"
- depends on SOC_STARFIVE
- depends on HW_RANDOM
+ depends on SOC_STARFIVE || COMPILE_TEST
help
This driver provides support for the True Random Number
Generator in StarFive JH7110 SoCs.