[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <503BE05F.40109@suse.com>
Date: Mon, 27 Aug 2012 17:02:23 -0400
From: Jeff Mahoney <jeffm@...e.com>
To: Jonghwa Lee <jonghwa3.lee@...sung.com>,
Kyungmin Park <kyungmin.park@...sung.com>,
Stephen Boyd <sboyd@...eaurora.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
Linux Kernel Maling List <linux-kernel@...r.kernel.org>
Subject: [PATCH] exynos-rng: Depend on ARCH_EXYNOS
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@...e.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists