From patchwork Wed Apr 20 23:26:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 8895451 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C2F07BF29F for ; Wed, 20 Apr 2016 23:27:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D6EC2202F8 for ; Wed, 20 Apr 2016 23:27:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DAE52202BE for ; Wed, 20 Apr 2016 23:27:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751188AbcDTX1d (ORCPT ); Wed, 20 Apr 2016 19:27:33 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:36841 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751126AbcDTX1c (ORCPT ); Wed, 20 Apr 2016 19:27:32 -0400 Received: by mail-pf0-f172.google.com with SMTP id e128so22915409pfe.3 for ; Wed, 20 Apr 2016 16:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:cc:from:date:message-id; bh=abEnGPL+n70lWNyNj4WMNHZlwWHgM8Rm+RaSiMCSyPg=; b=DYaVK3dBFfOms6pYID43liDLkZsv54lvyoolo4FvSxw8jD2VPQ7JRhBYuWasfPHxsA P5gdChszNni7ZrS/v9SuvyvOpzukoK8agus+ymXgwME6F2a6+4s0viiNBm+IZvcvXWyR Mr8CUXp5LkdcFQFwOSu5K3VWIkJssG+t9QwW4+SmvcEC3MEiFcolavQv3ioZd2ZZmoNr 7k+VkaSOBSG/qzvmmlqLJyrBm9osDZmKKAF2lQIhd6NcTuXoqHvZzzpT0aR+us/DT21o j7MY+E3+BYlC3R33ZsE6nA71o9y//Q/xDAGoW/TRAd0wbgzC11km8MH/AP1EXozHYJZO 0h7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:cc:from:date:message-id; bh=abEnGPL+n70lWNyNj4WMNHZlwWHgM8Rm+RaSiMCSyPg=; b=d+mWIy99U3yN4HK//v+usc4yc8UL7Wx8fWhwP1OcO3k3UK3lxnUKw91wf4KZSYygUo urLibFEvDM/OgpykPH4ir7ShrXeakDNsMCr2OKhsPqnFsd8X+1l7ah+R7kUe8NV4OnfZ DQhLXn55B1a3m4v2NKk+3lkqnqplRJBqP2VSnwc6u9J3IKJRXMCd8DcY2affDl2LDQPk gk8iCUQFusWxCuyt7DiCIO0JTOPnfrL9hQCxEJQTyMXcwAB1oyhqkpHTpQgPdenkziIN zdmTeOy0TTOuaxGIt43sq5TluY//H7vBnN9eq3SKAX6l4uuwh5Jxk9tbE2Bv7BxRfKpD BpOQ== X-Gm-Message-State: AOPr4FXZJLz3uAKBGE635qb7fouTeTu5uBtovJI06peLQTvtC8kJ2W5cWpwB3UEDpu7A3A== X-Received: by 10.98.74.140 with SMTP id c12mr16033198pfj.106.1461194852109; Wed, 20 Apr 2016 16:27:32 -0700 (PDT) Received: from localhost ([2601:647:4203:c8e0:e8f9:6d:4227:517d]) by smtp.gmail.com with ESMTPSA id 132sm50976825pfw.35.2016.04.20.16.27.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Apr 2016 16:27:31 -0700 (PDT) Subject: patch "thermal: fix mtk_thermal build dependency" added to thermal-soc tree To: rdunlap@infradead.org, edubezval@gmail.com, hanyi.wu@mediatek.com, linux-pm@vger.kernel.org, rui.zhang@intel.com, s.hauer@pengutronix.de Cc: Zhang Rui From: Eduardo Valentin Date: Wed, 20 Apr 2016 16:26:21 -0700 Message-ID: <14611947813473@besouro> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 This is a simple automated notification to let you know that I've just added the patch titled thermal: fix mtk_thermal build dependency to my thermal-soc git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git in the fixes branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will hopefully also be merged in Linus's tree for the next -rc kernel release. If you have any questions about this process, please let me know. All the best, Eduardo Valentin ---------- From 62e14f6fd383f756ff3fe5f6fb7aa5b546bb47e3 Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Tue, 19 Apr 2016 09:44:23 -0700 Subject: thermal: fix mtk_thermal build dependency Fix build errors when MTK_THERMAL=y and NVMEM=m by preventing that Kconfig combination. drivers/built-in.o: In function `mtk_thermal_probe': mtk_thermal.c:(.text+0xffa8f): undefined reference to `nvmem_cell_get' mtk_thermal.c:(.text+0xffabe): undefined reference to `nvmem_cell_read' mtk_thermal.c:(.text+0xffac9): undefined reference to `nvmem_cell_put' Signed-off-by: Randy Dunlap Cc: Zhang Rui Cc: Eduardo Valentin Cc: Cc: Sascha Hauer Cc: Hanyi Wu Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index c37eedc..5c77110 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -376,6 +376,7 @@ config MTK_THERMAL tristate "Temperature sensor driver for mediatek SoCs" depends on ARCH_MEDIATEK || COMPILE_TEST depends on HAS_IOMEM + depends on NVMEM || NVMEM=n default y help Enable this option if you want to have support for thermal management