From patchwork Fri Jan 29 14:50:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101021 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1163756lbb; Fri, 29 Jan 2016 06:52:06 -0800 (PST) X-Received: by 10.66.242.17 with SMTP id wm17mr13809175pac.155.1454079126078; Fri, 29 Jan 2016 06:52:06 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15si24704484pfp.195.2016.01.29.06.52.04; Fri, 29 Jan 2016 06:52:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756495AbcA2Ov7 (ORCPT + 30 others); Fri, 29 Jan 2016 09:51:59 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:53505 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756471AbcA2Ov4 (ORCPT ); Fri, 29 Jan 2016 09:51:56 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0MeShL-1aj91S2fux-00QABk; Fri, 29 Jan 2016 15:51:21 +0100 From: Arnd Bergmann To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Kukjin Kim , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 6/6] ARM: exynos: select THERMAL_OF Date: Fri, 29 Jan 2016 15:50:38 +0100 Message-Id: <1454079040-3567945-7-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454079040-3567945-1-git-send-email-arnd@arndb.de> References: <1454079040-3567945-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:uMVCz8wWUPqQZL1Csgfww28GJ2SdF9n+xpkRl0/b8MN+J9b+JwZ rZfezMSAzHTlWvmmBmj2nKyv5FcOJTyXxHUr1tLrveZ7PGsb1saJEKMCEbfCN93sInpndTj yiycRCk1PgDTeCgY3N5MEkEUcgdh05wFibN3RglXiUHTI1wc2oIPvzNCzFY24LvaQgo+0gV 1MEqQro3XKIpP55xvdOFg== X-UI-Out-Filterresults: notjunk:1; V01:K0:1rNPOK0fWUA=:FYwtpCNA7n2vW7ldLCBKPg ylkCyESXXZUPviaBhv+QRrX2kMTD+iRd+1yzWsfo8Z13ieM/JQ7zeXD1r2w4qikfumWJOpX+w 965qQZzj80PiX5b5UgcpxyhimL1ttk4VJqQnSmFpoZawUzhuRABC9dedRziTYVGgmEjVHXnsw MOwTL8buePu73osGX9hBgI79/vwyhXTziunn3zPC1XRW+oclp9l4g+jzKQ6OZEhkh6zN0yugH oqpyf4qvXCgAeOPSl/WUHipIn3UsDS/6GSGHHD+SoIyJjFyoD2ThBnf42N3BpazGOFRKi8EVL 4Wobs6NShQykYjnVS5hM0iD7jPgZxoVp6vqk8KLc4Vh+HxqRDGRC+pX1bQmT9pXuXbhuc7Ye1 Hjbz3ZjhmeQoT9InFcBhz5cZfrD2zJ/x/UaQviKUDwyCy2PtvZuJoYEFIIGyCs4z3fLxl5H6v PJhR3onH7Maw0fL5RwtdPPCghFowL1LLw1Wg5LRC7aTs3w3u4V+CVJzBnurKxRIWvtxLRZc+n VCaQRZVUJ3/+lEQXzrlmzUE2U2fdtminvt7IS6mjqre9nfwj1p4/4rtzCr+EttIjjRSlnFsGE VK7L1cS7vWiDvAtiuAoKIRasDAavCqVThR4FBhR7+ZOR9SgP8bU2NXWlMSFiKCKmSRJduDrDI FvD9JE5WoX3Zj9tvxsH3SxKtoppKk2RUd4+wyxp9Xl/iTCWCpmKzc1lNi0KWx0uVY1eY= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We cannot select a symbol that has disabled dependencies, so we get a warning if we ever enable EXYNOS_THERMAL without also turning on THERMAL_OF: warning: (ARCH_EXYNOS) selects EXYNOS_THERMAL which has unmet direct dependencies (THERMAL && (ARCH_EXYNOS || COMPILE_TEST) && THERMAL_OF) This adds another 'select' in the platform code to avoid that case. Alternatively, we could decide to not select EXYNOS_THERMAL here and instead make it a user option. Signed-off-by: Arnd Bergmann --- arch/arm/mach-exynos/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.0 diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 652a0bb11578..5189bcecad12 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -27,6 +27,7 @@ menuconfig ARCH_EXYNOS select S5P_DEV_MFC select SRAM select THERMAL + select THERMAL_OF select MFD_SYSCON select CLKSRC_EXYNOS_MCT select POWER_RESET