From: Martin Kaiser Date: Fri, 16 Jun 2023 08:58:12 +0000 (+0100) Subject: hwrng: st - support compile-testing X-Git-Tag: v6.6.7~2481^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afa9d00ee0fda2387ad598d0b106e96a7ed360ae;p=platform%2Fkernel%2Flinux-starfive.git hwrng: st - support compile-testing Allow compile-testing the st-rng driver if we're not running on an ST chipset. Signed-off-by: Martin Kaiser Signed-off-by: Herbert Xu --- diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index baefa2e..e0b3786 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -348,7 +348,7 @@ config HW_RANDOM_HISTB config HW_RANDOM_ST tristate "ST Microelectronics HW Random Number Generator support" - depends on HW_RANDOM && ARCH_STI + depends on HW_RANDOM && (ARCH_STI || COMPILE_TEST) help This driver provides kernel-side support for the Random Number Generator hardware found on STi series of SoCs.