summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/Kconfig
diff options
context:
space:
mode:
authorRichard Weinberger2016-01-25 23:24:04 +0100
committerHerbert Xu2016-01-26 15:27:34 +0100
commit625b4a982788fefe1361daee2ea160192cd80572 (patch)
treef3d47b4481f1b7ae8b5c52e42d6f75156fdf9742 /drivers/char/hw_random/Kconfig
parentcrypto: ghash,poly1305 - select CRYPTO_HASH where needed (diff)
downloadkernel-qcow2-linux-625b4a982788fefe1361daee2ea160192cd80572.tar.gz
kernel-qcow2-linux-625b4a982788fefe1361daee2ea160192cd80572.tar.xz
kernel-qcow2-linux-625b4a982788fefe1361daee2ea160192cd80572.zip
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>
Diffstat (limited to 'drivers/char/hw_random/Kconfig')
-rw-r--r--drivers/char/hw_random/Kconfig1
1 files changed, 1 insertions, 0 deletions
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.