From: Herbert Xu Date: Fri, 15 Apr 2022 08:37:47 +0000 (+0800) Subject: hwrng: mpfs - Enable COMPILE_TEST X-Git-Tag: v6.1-rc5~1227^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a71277ce91e4766ebe9a5f6725089c80d043ba2;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: Conor Dooley Signed-off-by: Herbert Xu --- diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index c3a9f17..1245472 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).