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 <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 578c60f commit 625b4a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)