hwrng: mpfs - Enable COMPILE_TEST
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Apr 2022 08:37:47 +0000 (16:37 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Apr 2022 09:53:55 +0000 (17:53 +0800)
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>
drivers/char/hw_random/Kconfig

index c3a9f17..1245472 100644 (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).