summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-04-15 10:37:47 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2022-04-21 11:53:55 +0200
commit6a71277ce91e4766ebe9a5f6725089c80d043ba2 (patch)
tree58222bdab78e88868f227cccc06bdecb72de6f6e /drivers/char
parentcrypto: marvell/cesa - ECB does not IV (diff)
downloadlinux-6a71277ce91e4766ebe9a5f6725089c80d043ba2.tar.xz
linux-6a71277ce91e4766ebe9a5f6725089c80d043ba2.zip
hwrng: mpfs - Enable COMPILE_TEST
The dependency on HW_RANDOM is redundant so this patch removes it. As this driver seems to cross-compile just fine we could also enable COMPILE_TEST. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Reviewed-by: Conor Dooley <conor.dooley@microchip.com Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index c3a9f17bf31c..1245472a0dfe 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -387,7 +387,7 @@ config HW_RANDOM_PIC32
config HW_RANDOM_POLARFIRE_SOC
tristate "Microchip PolarFire SoC Random Number Generator support"
- depends on HW_RANDOM && POLARFIRE_SOC_SYS_CTRL
+ depends on POLARFIRE_SOC_SYS_CTRL || COMPILE_TEST
help
This driver provides kernel-side support for the Random Number
Generator hardware found on PolarFire SoC (MPFS).