Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1356886 > unrolled thread

[PATCH] hwrng: exynos - Enable COMPILE_TEST

Started byKrzysztof Kozlowski <k.kozlowski@samsung.com>
First post2016-03-14 05:30 +0100
Last post2016-03-14 05:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] hwrng: exynos - Enable COMPILE_TEST Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-14 05:30 +0100

#1356886 — [PATCH] hwrng: exynos - Enable COMPILE_TEST

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-03-14 05:30 +0100
Subject[PATCH] hwrng: exynos - Enable COMPILE_TEST
Message-ID<rcsiJ-7as-5@gated-at.bofh.it>
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>

---

Compile-tested on x86, x86_64, ppc64, arm, arm64 and mips.
---
 drivers/char/hw_random/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
2.5.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web