[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Ylku27J41IMmMe7x@gondor.apana.org.au>
Date: Fri, 15 Apr 2022 16:37:47 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: conor.dooley@...rochip.com
Cc: linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
linux-riscv@...ts.infradead.org
Subject: 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@...dor.apana.org.au>
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 18aa97974b8b..dad084c0ecee 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).
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists