diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-01-27 19:03:21 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-03 12:55:59 +0800 |
commit | c7410b425de40e9b163eef781e1bdacf1bf2962e (patch) | |
tree | ac677627b1ab2f82f6121f8a45b9cf961e654931 /drivers/char | |
parent | dd7b7972cb896c33f20915f7c89173b3927340e5 (diff) |
hwrng: starfive - Enable compile testing
Enable compile testing for jh7110. Also remove the dependency on
HW_RANDOM.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/Kconfig | 3 |
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. |