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 <[email protected]>
Reviewed-by: Conor Dooley <[email protected]
Reviewed-by: Conor Dooley <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
Herbert Xu committed 2022-04-21 17:53:55 +08:00
1 parent 4ffa176362
commit 6a71277ce9
1 file changed
+1 -1
+1 -1
View File
@@ -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).