All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] exynos-rng: Depend on ARCH_EXYNOS
@ 2012-08-27 21:02 Jeff Mahoney
  2012-08-27 21:18 ` Stephen Boyd
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Mahoney @ 2012-08-27 21:02 UTC (permalink / raw)
  To: Jonghwa Lee, Kyungmin Park, Stephen Boyd, Herbert Xu,
	Linux Kernel Maling List

The exynos-rng device is only found on Samsung EXYNOS devices but has
dependencies that allow it to be built on other architectures. This
can result in build failures on powerpc due to a missing clk_devm_get.

This patch makes it depend on ARCH_EXYNOS.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 drivers/char/hw_random/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -280,7 +280,7 @@ config HW_RANDOM_PSERIES
 
 config HW_RANDOM_EXYNOS
 	tristate "EXYNOS HW random number generator support"
-	depends on HW_RANDOM && HAS_IOMEM && HAVE_CLK
+	depends on HW_RANDOM && HAS_IOMEM && HAVE_CLK && ARCH_EXYNOS
 	---help---
 	  This driver provides kernel-side support for the Random Number
 	  Generator hardware found on EXYNOS SOCs.


-- 
Jeff Mahoney
SUSE Labs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-27 21:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-27 21:02 [PATCH] exynos-rng: Depend on ARCH_EXYNOS Jeff Mahoney
2012-08-27 21:18 ` Stephen Boyd
2012-08-27 21:24   ` Mark Brown
2012-08-27 21:25   ` Jeff Mahoney
2012-08-27 21:37     ` Mark Brown
2012-08-27 21:58       ` Jeff Mahoney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.