Skip to content

Commit 625b4a9

Browse files
richardweinbergerherbertx
authored andcommitted
hwrng: stm32 - Fix dependencies for !HAS_IOMEM archs
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger <richard@nod.at> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 578c60f commit 625b4a9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/char/hw_random/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ config HW_RANDOM_XGENE
372372
config HW_RANDOM_STM32
373373
tristate "STMicroelectronics STM32 random number generator"
374374
depends on HW_RANDOM && (ARCH_STM32 || COMPILE_TEST)
375+
depends on HAS_IOMEM
375376
help
376377
This driver provides kernel-side support for the Random Number
377378
Generator hardware found on STM32 microcontrollers.

0 commit comments

Comments
 (0)