Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754679Ab2H0VBw (ORCPT ); Mon, 27 Aug 2012 17:01:52 -0400 Received: from cantor2.suse.de ([195.135.220.15]:53874 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754253Ab2H0VBt (ORCPT ); Mon, 27 Aug 2012 17:01:49 -0400 Message-ID: <503BE05F.40109@suse.com> Date: Mon, 27 Aug 2012 17:02:23 -0400 From: Jeff Mahoney User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Jonghwa Lee , Kyungmin Park , Stephen Boyd , Herbert Xu , Linux Kernel Maling List Subject: [PATCH] exynos-rng: Depend on ARCH_EXYNOS X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1104 Lines: 32 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 --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/