diff options
author | Martin Kaiser <martin@kaiser.cx> | 2023-07-10 23:27:27 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-07-22 04:59:36 +0300 |
commit | d4211390d88902462a7642eb22fd83083588eaf7 (patch) | |
tree | ac6f11189fb921cfee2af1710a8d4916392cdf1a /drivers/char/hw_random | |
parent | b0ab0797f7ab74bd6e78ddce7d2ea580e588c60d (diff) | |
download | linux-d4211390d88902462a7642eb22fd83083588eaf7.tar.xz |
hwrng: ingenic - enable compile testing
Enable compile testing for the ingenic-trng driver.
Remove the dependency on HW_RANDOM. The ingenic-trng config section is
under "if HW_RANDOM".
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random')
-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 1aeba12391a1..5d72b8da3c36 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -271,8 +271,7 @@ config HW_RANDOM_INGENIC_RNG config HW_RANDOM_INGENIC_TRNG tristate "Ingenic True Random Number Generator support" - depends on HW_RANDOM - depends on MACH_X1830 + depends on MACH_X1830 || COMPILE_TEST default HW_RANDOM help This driver provides kernel-side support for the True Random Number Generator |