From: Richard Weinberger Date: Mon, 25 Jan 2016 22:24:04 +0000 (+0100) Subject: hwrng: stm32 - Fix dependencies for !HAS_IOMEM archs X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=625b4a982788fefe1361daee2ea160192cd80572;p=openwrt%2Fstaging%2Fblogic.git 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 Reviewed-by: Daniel Thompson Signed-off-by: Herbert Xu --- diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index dbf22719462f..ff00331bff49 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -372,6 +372,7 @@ config HW_RANDOM_XGENE config HW_RANDOM_STM32 tristate "STMicroelectronics STM32 random number generator" depends on HW_RANDOM && (ARCH_STM32 || COMPILE_TEST) + depends on HAS_IOMEM help This driver provides kernel-side support for the Random Number Generator hardware found on STM32 microcontrollers.