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: 8164061 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1AB799F440 for ; Fri, 29 Jan 2016 14:52:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4549B20383 for ; Fri, 29 Jan 2016 14:52:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 64E5620265 for ; Fri, 29 Jan 2016 14:52:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756477AbcA2Ov6 (ORCPT ); Fri, 29 Jan 2016 09:51:58 -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-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Kconfig | 1 + 1 file changed, 1 insertion(+) 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