From patchwork Tue Mar 8 21:39:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 8537941 Return-Path: X-Original-To: patchwork-linux-arm@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 E9AB39F2B4 for ; Tue, 8 Mar 2016 21:42:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 06F4B201C8 for ; Tue, 8 Mar 2016 21:42:20 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.kernel.org 06F4B201C8 Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=B9O/W/SE Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26F532017D for ; Tue, 8 Mar 2016 21:42:19 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.kernel.org 26F532017D Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1adPMQ-0007vE-J1; Tue, 08 Mar 2016 21:40:10 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1adPMM-0006kp-8N; Tue, 08 Mar 2016 21:40:07 +0000 Received: by mail-pa0-x235.google.com with SMTP id bj10so21288243pad.2; Tue, 08 Mar 2016 13:39:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=MvOwod7m6tvGXkfTLqNwR5Fl0xTG42bX8WCb6Eo5ak4=; b=B9O/W/SEw2SYuxUlc69B1Ny1QKBKVbi+HVRNFA6ODeOHHK1mjaq0GB6BX5DSWuvLg5 fp1Niq/06r1XoDmJ8S/1l0aBeEwVT8olED9wT9J19d8U4LxoFGp9vsXTYqrxzaatrmEh Pof8x0zlz4AFvgz2o9MRS3a0RGB2ir2rUzA0t8MejZPBKWO6CjpwDEogAMEmL9zSVvV7 8KS7yifwrsxYDFfAP6dW9lw1gugKGI8+pIPMWng1TNnzS/EWuUpKaZXvYLD9cvzGhLNS QSEoQm8+t5q6sOZxkf/7BTvmUq8ncBQWohC3ybYYZiiqgZdH1qxGxDy6+N/a4GRr61nT Q0bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MvOwod7m6tvGXkfTLqNwR5Fl0xTG42bX8WCb6Eo5ak4=; b=D2LyqnbQIgcgO/Y3YS7FrG+EPdRIu8dQAoMwKJYhmrIQg0vtnn6U0R3Q/vvuFxmlpY WvF2n2d706SCD1MfiD5xr1i9jXzwVIPViQqwHTJ6seHARYon1CveYqt7IQqh1VDovDaI Z7CT8Sh6tFV2ftE3Za8AsHBw0yfjxbDLVZoybkqYa4bPZDFupM9h4hu1EkD4+jkDv6pl eRYKaz1QvdOjLIsTGNuscnFRfWsGT/sMHmChU5iev6/8pS/zuyLlgzQNCM4FRpSju3IC B2s/uJ8u+jH3RlIO2jX8OggUS1zUaIt31FxDrmwIdKM6Mrb57B+Dh8mHgheHerIg/Qb6 gn1w== X-Gm-Message-State: AD7BkJIa7yzRNlzaDNRYrduGp5iq6mJuaYipR2TTorb8wZewrYh4It9M2WFj8dLXp9vbQQ== X-Received: by 10.66.235.9 with SMTP id ui9mr45181248pac.135.1457473184714; Tue, 08 Mar 2016 13:39:44 -0800 (PST) Received: from localhost ([2601:647:4203:c8e0:f548:c4b1:8556:aa2]) by smtp.gmail.com with ESMTPSA id y68sm7111292pfi.6.2016.03.08.13.39.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Mar 2016 13:39:43 -0800 (PST) From: Eduardo Valentin To: Rui Zhang Subject: [PATCH 1/1] thermal: mtk: allow compile testing on UM Date: Tue, 8 Mar 2016 13:39:41 -0800 Message-Id: <1457473181-10631-1-git-send-email-edubezval@gmail.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160308_134006_365914_8DB2E62B X-CRM114-Status: GOOD ( 14.01 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Eduardo Valentin , linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, 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 Following the fix on thermal Kconfig, this patch adds dependency on HAS_IOMEM so driver properly compile test on UM arch. Cc: Krzysztof Kozlowski Cc: Zhang Rui Cc: Matthias Brugger Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Signed-off-by: Eduardo Valentin --- Krzysztof, I had to split your patch into two, because mtk driver is only in my for-linus branch. I want to send your patch as a fix for the current kernel. This is why you are seeing this patch now. This patch has been added to my linus branch. BR, Eduardo --- drivers/thermal/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 5e7c97a..462d014 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -368,6 +368,7 @@ config INTEL_PCH_THERMAL config MTK_THERMAL tristate "Temperature sensor driver for mediatek SoCs" depends on ARCH_MEDIATEK || COMPILE_TEST + depends on HAS_IOMEM default y help Enable this option if you want to have support for thermal management