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>
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).