Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2975700ybf; Mon, 2 Mar 2020 20:05:57 -0800 (PST) X-Google-Smtp-Source: ADFU+vv7j4RbzzssBpzovPNfWVAOQch5+hi+yaz30RKutQb+aR7X92I9eEVHCGEmsB57jqxp88fp X-Received: by 2002:a9d:6f84:: with SMTP id h4mr1866237otq.62.1583208357111; Mon, 02 Mar 2020 20:05:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583208357; cv=none; d=google.com; s=arc-20160816; b=Tm1aIRVk2BsghPuHv8MYpB+PBn0V0gOU9GmJM68ruCitGSxE7G7hhHmp9TqIr+qLMC RZakbEULDYa77dtziP/80v8uZWFGJD0Ktqv5iBWdpkU+CWAl3eQYr5b7GGo+DwvOxWWA 0yyNgxiefGYMxLfKT+cwCXgyhVUzO+FeG0pHsZrHK0pHG4clKp65KuusMq8kfwm9i1UA BiMtcA5CajYw8lvxjFXivmRnbrtLQmhH+yr1sQKSKiHoO3Ad+hh1dmW9+k45NyA8CAoz OOpKQFO4IxtSOaUJudFORU03N9opti4s6/BQU7b0VxQPYhAxRvKFpbsp4urfZCfVH182 egOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=n+3CD/HSIF5tCakhGpcIRy9NRGvYBSbkRbcIDslgG/E=; b=igbZP7uCyPMENL+qpa46HsgoImFMCMcxvkglW3+9LOqtDtI5S6zxJwCuwKNoQVug5z SqlHWd77Q7I4+eMMsskKuQRgBOgLyPHeLJvgkvEqKAOLZBcgrBQIr85QI1pBy8LYg9uC g66ZtG3hnCWB0CYYc9chkfYN91OEJyet7xXqgZ9wMrOGrPZisaStxeqPJHbWwpitj1Kj AnvALzPVaDYFTFAMBGci9VNK/cZRcx64xYeQcmYt8Dh63l/YMnWozbnlWcQRuUPuEfkw va2/AyeMQI0FxvSyAvdOrdeGmMULfOxL3yHH3PKnw3m7WQBUpvWQ/fesSR7MgquurVds dX1Q== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 12si7266492oir.69.2020.03.02.20.05.44; Mon, 02 Mar 2020 20:05:57 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727276AbgCCEFD (ORCPT + 99 others); Mon, 2 Mar 2020 23:05:03 -0500 Received: from inva021.nxp.com ([92.121.34.21]:60952 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726942AbgCCEFD (ORCPT ); Mon, 2 Mar 2020 23:05:03 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id DFF50201248; Tue, 3 Mar 2020 05:05:01 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E5C8020123D; Tue, 3 Mar 2020 05:04:58 +0100 (CET) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id D80E54029B; Tue, 3 Mar 2020 12:04:54 +0800 (SGT) From: andy.tang@nxp.com To: rui.zhang@intel.com, edubezval@gmail.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Yuantian Tang Subject: [PATCH] thermal: qoriq: fix a compiling issue Date: Tue, 3 Mar 2020 12:02:11 +0800 Message-Id: <20200303040211.31304-1-andy.tang@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yuantian Tang Qoriq thermal driver is used by both PowerPC and ARM architecture. When built for PowerPC architecture, it reports error: undefined reference to `.__devm_regmap_init_mmio_clk' To fix it, select config REGMAP_MMIO. Signed-off-by: Yuantian Tang --- drivers/thermal/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 5a05db5438d6..5a0df0e54ce3 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -265,6 +265,7 @@ config QORIQ_THERMAL tristate "QorIQ Thermal Monitoring Unit" depends on THERMAL_OF depends on HAS_IOMEM + select REGMAP_MMIO help Support for Thermal Monitoring Unit (TMU) found on QorIQ platforms. It supports one critical trip point and one passive trip point. The -- 2.17.1