diff options
author | Richard Weinberger <richard@nod.at> | 2016-01-25 23:24:04 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-26 15:27:34 +0100 |
commit | 625b4a982788fefe1361daee2ea160192cd80572 (patch) | |
tree | f3d47b4481f1b7ae8b5c52e42d6f75156fdf9742 /drivers/char/hw_random/Kconfig | |
parent | crypto: ghash,poly1305 - select CRYPTO_HASH where needed (diff) | |
download | linux-625b4a982788fefe1361daee2ea160192cd80572.tar.xz 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/Kconfig | 1 |
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. |