From: Herbert Xu Date: Fri, 29 Apr 2022 05:37:20 +0000 (+0800) Subject: hwrng: cn10k - Enable compile testing X-Git-Tag: v6.1-rc5~1227^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25dfae684031f292034a0f42155090df6309f152;p=platform%2Fkernel%2Flinux-starfive.git hwrng: cn10k - Enable compile testing This patch enables COMPILE_TEST for cn10k. Signed-off-by: Herbert Xu --- diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index c3a9f17..b3f2d55 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