From patchwork Mon Jan 25 22:24:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Weinberger X-Patchwork-Id: 8116631 Return-Path: X-Original-To: patchwork-linux-pm@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 4528E9F818 for ; Mon, 25 Jan 2016 22:30:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6C03620256 for ; Mon, 25 Jan 2016 22:30:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6ED5120160 for ; Mon, 25 Jan 2016 22:30:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933306AbcAYWa0 (ORCPT ); Mon, 25 Jan 2016 17:30:26 -0500 Received: from mail.sigma-star.at ([95.130.255.111]:46003 "EHLO mail.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932934AbcAYWaY (ORCPT ); Mon, 25 Jan 2016 17:30:24 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.sigma-star.at (Postfix) with ESMTP id B8D5224E000F; Mon, 25 Jan 2016 23:25:02 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.sigma-star.at Received: from localhost.localdomain (chello213047235169.tirol.surfer.at [213.47.235.169]) by mail.sigma-star.at (Postfix) with ESMTPSA id DE00824E000E; Mon, 25 Jan 2016 23:25:01 +0100 (CET) From: Richard Weinberger To: linux-kernel@vger.kernel.org Cc: user-mode-linux-devel@lists.sourceforge.net, Richard Weinberger , Zhang Rui , Eduardo Valentin , linux-pm@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH 19/22] thermal: Fix dependencies for !HAS_IOMEM archs Date: Mon, 25 Jan 2016 23:24:18 +0100 Message-Id: <1453760661-1444-20-git-send-email-richard@nod.at> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1453760661-1444-1-git-send-email-richard@nod.at> References: <1453760661-1444-1-git-send-email-richard@nod.at> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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=unavailable 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 Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/thermal/Kconfig | 7 +++++++ drivers/thermal/ti-soc-thermal/Kconfig | 1 + 2 files changed, 8 insertions(+) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 8cc4ac6..8876c7e 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -178,6 +178,7 @@ config THERMAL_EMULATION config HISI_THERMAL tristate "Hisilicon thermal driver" depends on (ARCH_HISI && CPU_THERMAL && OF) || COMPILE_TEST + depends on HAS_IOMEM help Enable this to plug hisilicon's thermal sensor driver into the Linux thermal framework. cpufreq is used as the cooling device to throttle @@ -198,6 +199,7 @@ config SPEAR_THERMAL bool "SPEAr thermal sensor driver" depends on PLAT_SPEAR || COMPILE_TEST depends on OF + depends on HAS_IOMEM help Enable this to plug the SPEAr thermal sensor driver into the Linux thermal framework. @@ -206,6 +208,7 @@ config ROCKCHIP_THERMAL tristate "Rockchip thermal driver" depends on ARCH_ROCKCHIP || COMPILE_TEST depends on RESET_CONTROLLER + depends on HAS_IOMEM help Rockchip thermal driver provides support for Temperature sensor ADC (TS-ADC) found on Rockchip SoCs. It supports one critical @@ -224,6 +227,7 @@ config KIRKWOOD_THERMAL tristate "Temperature sensor on Marvell Kirkwood SoCs" depends on MACH_KIRKWOOD || COMPILE_TEST depends on OF + depends on HAS_IOMEM help Support for the Kirkwood thermal sensor driver into the Linux thermal framework. Only kirkwood 88F6282 and 88F6283 have this sensor. @@ -232,6 +236,7 @@ config DOVE_THERMAL tristate "Temperature sensor on Marvell Dove SoCs" depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST depends on OF + depends on HAS_IOMEM help Support for the Dove thermal sensor driver in the Linux thermal framework. @@ -250,6 +255,7 @@ config ARMADA_THERMAL tristate "Armada 370/XP thermal management" depends on ARCH_MVEBU || COMPILE_TEST depends on OF + depends on HAS_IOMEM help Enable this option if you want to have support for thermal management controller present in Armada 370 and Armada XP SoC. @@ -372,6 +378,7 @@ endmenu menu "Samsung thermal drivers" depends on ARCH_EXYNOS || COMPILE_TEST +depends on HAS_IOMEM source "drivers/thermal/samsung/Kconfig" endmenu diff --git a/drivers/thermal/ti-soc-thermal/Kconfig b/drivers/thermal/ti-soc-thermal/Kconfig index ea8283f..283d794 100644 --- a/drivers/thermal/ti-soc-thermal/Kconfig +++ b/drivers/thermal/ti-soc-thermal/Kconfig @@ -1,5 +1,6 @@ config TI_SOC_THERMAL tristate "Texas Instruments SoCs temperature sensor driver" + depends on HAS_IOMEM help If you say yes here you get support for the Texas Instruments OMAP4460+ on die bandgap temperature sensor support. The register