hwrng: exynos - Enable COMPILE_TEST
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 14 Mar 2016 04:19:55 +0000 (13:19 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 5 Apr 2016 12:35:44 +0000 (20:35 +0800)
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>
drivers/char/hw_random/Kconfig

index 67ee8b08ab5318dca13054e6e1e65da9dcd1c000..3c5be60befce91a871af0baf7864ca5422b8dd34 100644 (file)
@@ -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