Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754585Ab2KNGvb (ORCPT ); Wed, 14 Nov 2012 01:51:31 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:63979 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752992Ab2KNGva (ORCPT ); Wed, 14 Nov 2012 01:51:30 -0500 From: Sachin Kamat To: linux-kernel@vger.kernel.org Cc: rui.zhang@intel.com, durgadoss.r@intel.com, sachin.kamat@linaro.org, patches@linaro.org, akpm@linux-foundation.org, Amit Daniel Kachhap Subject: [PATCH 1/1] thermal: Exynos: Add missing dependency Date: Wed, 14 Nov 2012 12:15:29 +0530 Message-Id: <1352875529-1816-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1342 Lines: 35 CPU_FREQ_TABLE depends on CPU_FREQ. Selecting CPU_FREQ_TABLE without checking for dependencies gives the following compilation warnings: warning: (ARCH_TEGRA_2x_SOC && ARCH_TEGRA_3x_SOC && UX500_SOC_DB8500 && CPU_THERMAL && EXYNOS_THERMAL) selects CPU_FREQ_TABLE which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ) Cc: Amit Daniel Kachhap Signed-off-by: Sachin Kamat --- Build tested using exynos4_defconfig on linux-next tree of 20121114. --- drivers/thermal/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 266c15e..197b7db 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -50,7 +50,7 @@ config RCAR_THERMAL config EXYNOS_THERMAL tristate "Temperature sensor on Samsung EXYNOS" - depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) && THERMAL + depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) && THERMAL && CPU_FREQ select CPU_FREQ_TABLE help If you say yes here you get support for TMU (Thermal Managment -- 1.7.4.1 -- 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/