From patchwork Tue Sep 26 17:37:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 9972399 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 98DEC6037F for ; Tue, 26 Sep 2017 17:38:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5BD8028F8A for ; Tue, 26 Sep 2017 17:38:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A8AD28892; Tue, 26 Sep 2017 17:38:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C88928FA9 for ; Tue, 26 Sep 2017 17:38:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965399AbdIZRih (ORCPT ); Tue, 26 Sep 2017 13:38:37 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:52095 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964920AbdIZRig (ORCPT ); Tue, 26 Sep 2017 13:38:36 -0400 Received: from localhost.localdomain ([95.90.209.84]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MTL2h-1dp2HB2YSd-00SMqV; Tue, 26 Sep 2017 19:38:22 +0200 From: Stefan Wahren To: Zhang Rui , Eduardo Valentin Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Allen Wild , Stefan Wahren Subject: [PATCH] thermal: enable broadcom menu for arm64 bcm2835 Date: Tue, 26 Sep 2017 19:37:44 +0200 Message-Id: <1506447464-3234-1-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K0:cqiCoeIkTaWpdxQQHS55tHjCfj9mF4eSc8nUA436eK586yVSOjB EMq9fR6bVHEYLW1URmrzoFdhZNEiqy6Vh0ibNl1twmdyn7ACJX/UP9RnIl+GJyrnFs8cymV R4rFtI93zxUL/BgTkP6shLTKAFSutrPMJPbS4qKo5IvJxpBs7olnMfJKCBvBsI6LwtcD90y HfJnRR947Ckob1VqSiRNA== X-UI-Out-Filterresults: notjunk:1; V01:K0:btNF/Lm5hE8=:4jCYFEIGq8YUePTlIboXi0 KBHBoPrrWSa0jBDnjp7wGA7l3DIaoiVLDw6Bz6SBeuERbCaQ7E5zd6+YugWNcn2WURG5tqEgl mbWf0xqgLHN3Xoixh6kHfPhpisbFh6KBO1B9bdSL97fOhjR0mwn4bSpaKiLBzUwjhgJ0QbwDu CFv0b9y+B0/wph8UH+HSFNtGpV1/kuUBQN4CE+DqUUyS1g7f45XaXTKjdOsk9ZHVM4AqqEo7F yn9EFoWYJKTlChI9zgbXm3anVkBqoP83Hq386y6N4l12+5HcfuFm3MqAXP7zR17afoCOXfxMH 8LITwPkRhbOUjRYV83M1NgW5ru02HWsQIC4QDrBUxDHt82yCUe9QWvAXyplZBaWu6438EYdmU GnCNZCHy8x43bKlWWZE6ao7cOafJWkJSL/x1KUegAYr4HtBkakNDboTe0vJ5AB4DstbXxXaMu AKtOhL31yY1/P+LglW4OPNzsfnisWxz3JOAB46QpNxz3G6JgrxiCnpcClkiskAntMa3uC6ExA +r42TGldfhYW6SPhCV+HfN0lzV+Js18FFe+HA732IpRuEOaKxZVpsP6ASuXXxPSmqdqEITpat 2ZrNGEK38ev4D/EsXa6iPgIbBYYWGf1AAkD8uwi4JsVzIhR+WzEdgUWDJmXtLkYjAnVWlusGR pLHloR7z+9udeOho9NWSiQKfbHJT1LOhlgA9d39rmsiofygsi8/MbDE6Lhl1lSarlWNPZAGl5 KJPhc5ZxpAH43pJIh/GhuP16Rwy4cPEKZLWuoA== Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Allen Wild Moving the bcm2835 thermal driver to the broadcom directory prevented it from getting enabled for arm64 builds, since the broadcom directory is only available when 32-bit specific ARCH_BCM is set. Fix this by enabling the Broadcom menu for ARCH_BCM or ARCH_BCM2835. Fixes: 6892cf07e733 ("thermal: bcm2835: move to the broadcom subdirectory") Signed-off-by: Allen Wild Signed-off-by: Stefan Wahren --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 07002df..e3f0d1f 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -408,7 +408,7 @@ config MTK_THERMAL controller present in Mediatek SoCs menu "Broadcom thermal drivers" -depends on ARCH_BCM || COMPILE_TEST +depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST source "drivers/thermal/broadcom/Kconfig" endmenu