Skip to content

Commit afa9d00

Browse files
martin-kaiserherbertx
authored andcommitted
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 <martin@kaiser.cx> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent d744ae7 commit afa9d00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/char/hw_random/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ config HW_RANDOM_HISTB
348348

349349
config HW_RANDOM_ST
350350
tristate "ST Microelectronics HW Random Number Generator support"
351-
depends on HW_RANDOM && ARCH_STI
351+
depends on HW_RANDOM && (ARCH_STI || COMPILE_TEST)
352352
help
353353
This driver provides kernel-side support for the Random Number
354354
Generator hardware found on STi series of SoCs.

0 commit comments

Comments
 (0)