diff mbox series

[v2] hwrng: cn10k - Enable compile testing

Message ID Ymt5kIrBceX+Ub1R@gondor.apana.org.au
State Accepted
Commit 25dfae684031f292034a0f42155090df6309f152
Headers show
Series [v2] hwrng: cn10k - Enable compile testing | expand

Commit Message

Herbert Xu April 29, 2022, 5:37 a.m. UTC
This patch enables COMPILE_TEST for cn10k.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
diff mbox series

Patch

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index dad084c0ecee..02d0223d6e06 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -540,7 +540,7 @@  config HW_RANDOM_ARM_SMCCC_TRNG
 
 config HW_RANDOM_CN10K
        tristate "Marvell CN10K Random Number Generator support"
-       depends on HW_RANDOM && PCI && ARM64
+       depends on HW_RANDOM && PCI && (ARM64 || (64BIT && COMPILE_TEST))
        default HW_RANDOM
        help
 	 This driver provides support for the True Random Number