Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3185423ybf; Tue, 3 Mar 2020 01:00:59 -0800 (PST) X-Google-Smtp-Source: ADFU+vtwMGN2eYLPgViSJAG1ayPNVATJemqAwUP9lQzJ5/QbiOfKdc7cdqJ8A0lDmIjvoNOgVE5/ X-Received: by 2002:a05:6830:160c:: with SMTP id g12mr2548302otr.82.1583226058983; Tue, 03 Mar 2020 01:00:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583226058; cv=none; d=google.com; s=arc-20160816; b=QYCBu98gMWsCyZ09ffGyYVbkqYAfzqinvEeQiPI4FrFzIu62sHY6Qa1DMLFA3FoPKy PMJPzaYoXMjQ1v9fUh3KVuiN+DVk1EDTx7pzH9gJ6nqcdaWvepDIHW2v2dTsoAr02oA5 W7a/ZUS+YyB6r1AF8oxP8EE3KvJIYAto/0N8xnRIpT1qVioqUuHN/F+UBWI43lDpb65J CW98g5GJmvSITjsIwn9tAYOrVG/5Vi4YRa06v/mieezUOQ0byKMax0NqKVsF6NaME1JP /ixpb6c2rS3Q3oF/rgrQfKNDoYnt6Ls97saUHptWMDUuEX1VR7aK8F9oHrr0bEfjT0B2 xeHQ== 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=BoLZLJXFH9qG6Xuitm/ihUX1AFAHdmTInGGzlVic2/s=; b=STKa3MI6xjExUjaYxMtcl+NmxxFhWjYcAOfSZ9j82EOVRpPMEO5EjNAm7w9Q/ugvPF R9P01OLmRksuPpiUaCgAPt69dDdLpq0IzxhpxC3vy30nLVXKE32JZYI5cYvXpuWFJiOc 0H3f7CrK3Ta06NklNKssNbseW1q719G6XdwBXlehB8qolHW2Lw1daayqw++/7QAwa4ba Cy25Nkov6fSXfElmm1/fO++m5xJvcqNVZ7dcXW6K58E/Iev6tjMz704Cb/t3otWkoJcL jcG4/j7VUHri8piPUpXS5ylB7aZvOc8gCg6ylAguKjPfNuuhOeTarMqUCtf+GCea4NJS eOhA== 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 w15si7784812otm.263.2020.03.03.01.00.46; Tue, 03 Mar 2020 01:00:58 -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 S1727960AbgCCJAU (ORCPT + 99 others); Tue, 3 Mar 2020 04:00:20 -0500 Received: from inva020.nxp.com ([92.121.34.13]:56716 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727857AbgCCJAT (ORCPT ); Tue, 3 Mar 2020 04:00:19 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 19C841A14EF; Tue, 3 Mar 2020 10:00:18 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B0B261A157D; Tue, 3 Mar 2020 10:00:14 +0100 (CET) Received: from titan.ap.freescale.net (titan.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 7819A40338; Tue, 3 Mar 2020 17:00:05 +0800 (SGT) From: andy.tang@nxp.com To: rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Yuantian Tang Subject: [PATCH v2] thermal: qoriq: fix a compiling issue Date: Tue, 3 Mar 2020 16:46:41 +0800 Message-Id: <20200303084641.35687-1-andy.tang@nxp.com> X-Mailer: git-send-email 2.9.5 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. Fixes: 4316237bd627 (thermal: qoriq: Convert driver to use regmap API) Signed-off-by: Yuantian Tang --- v2: - add Fixes tag 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