summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/Kconfig
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-03-14 13:19:55 +0900
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-05 20:35:44 +0800
commit4dd6e9ea7ae824ebfd054b92e4f97ad75454b4c2 (patch)
tree0c2b9f23ca9fd1a46ca0b0ba16ef8f16c4599bd0 /drivers/char/hw_random/Kconfig
parent27d80fa8bccf8d28bef4f89709638efc624fef9a (diff)
downloadlinux-stable-4dd6e9ea7ae824ebfd054b92e4f97ad75454b4c2.tar.gz
linux-stable-4dd6e9ea7ae824ebfd054b92e4f97ad75454b4c2.tar.bz2
linux-stable-4dd6e9ea7ae824ebfd054b92e4f97ad75454b4c2.zip
hwrng: exynos - Enable COMPILE_TEST
Get some build coverage of Exynos H/W random number generator driver. Driver uses devm_ioremap_resource() so add IOMEM dependency for the compile testing. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> 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/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 67ee8b08ab53..3c5be60befce 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -309,7 +309,8 @@ config HW_RANDOM_POWERNV
config HW_RANDOM_EXYNOS
tristate "EXYNOS HW random number generator support"
- depends on ARCH_EXYNOS
+ depends on ARCH_EXYNOS || COMPILE_TEST
+ depends on HAS_IOMEM
default HW_RANDOM
---help---
This driver provides kernel-side support for the Random Number