From patchwork Wed Nov 14 06:48:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 1738911 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 8EFD8DF264 for ; Wed, 14 Nov 2012 06:54:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754227Ab2KNGyT (ORCPT ); Wed, 14 Nov 2012 01:54:19 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:55216 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751675Ab2KNGyS (ORCPT ); Wed, 14 Nov 2012 01:54:18 -0500 Received: by mail-pa0-f46.google.com with SMTP id hz1so95181pad.19 for ; Tue, 13 Nov 2012 22:54:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=Twya1IPy6Ayw/FiRE4ILpvlR2EJPJE/XHs0J/QNBRRs=; b=ZpFCksWhrE6LsG3S2wtM20d/TCuVHMTgWAqYbUh5yxWOo638g4xkiN+VljvFkp/Qx7 eF6wfw3ZEjCoCFxdKMEs46XgS4mI/0/+aud1Ha96lgzucyn0DFaor1xwO7UtJ2xNL8hp AZ0GLY84jWrp3FbyQ6hRbSI729MwpfQmZISXh+3h0OCrusqL8jWkITKUqAltxnQSBjIY wXv7M8dprfPlMLqEsduF22w+MDftK4/MFYUCEL9aSe5dgIB9AhXf92WQ0TiieaFWvLFk 2hOMN9zZx7aDXBIyb8aHP6kmGd/2Wdm/zv/yVtrNAXuoYlKKAXlycgXdokYBmyU7lexN qjRg== Received: by 10.68.191.200 with SMTP id ha8mr74980368pbc.51.1352876058165; Tue, 13 Nov 2012 22:54:18 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id gu5sm7277018pbc.10.2012.11.13.22.54.15 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 22:54:17 -0800 (PST) From: Sachin Kamat To: linux-pm@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:18:24 +0530 Message-Id: <1352875704-2178-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQkIKjdhlPm9Y/xjhwOFYJHeza9tDBMw1lSfKAjl158cGVD3vAnx3DOKBzx8+a8w9dHAXl0g Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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