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: 8537951 X-Patchwork-Delegate: eduardo.valentin@ti.com 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 F36AB9F8A8 for ; Tue, 8 Mar 2016 21:44:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 27428201FA for ; Tue, 8 Mar 2016 21:44:10 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.kernel.org 27428201FA 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 vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 696F820218 for ; Tue, 8 Mar 2016 21:44:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.kernel.org 696F820218 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751107AbcCHVjq (ORCPT ); Tue, 8 Mar 2016 16:39:46 -0500 Received: from mail-pa0-f49.google.com ([209.85.220.49]:36296 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751103AbcCHVjp (ORCPT ); Tue, 8 Mar 2016 16:39:45 -0500 Received: by mail-pa0-f49.google.com with SMTP id tt10so21294086pab.3; 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=cqt9jjTTrVC48X8WofL7OwkenNyx+uZvGg7387AMqfIVAIfDABIdRh9oXrjy6uSqzJ RNDlhEBSzTrad9RQsrqoy+TfsR9e2EfvkGGK9tqKi3ZU5olunukw1FDNq/wJATzyO03X B/n0eYBz9rfwjgFAjLo56SSB7TV1Haw8YrdN0IopgRWnbsatrNpUBb7Cbr4t2omstpAF ESJO6wk4fePy5C8m6f7TRI67+a5zVAyMvEZwmI3Bbd35/hHiF8Le+53I6Pxa9hDBSSmc lMZfETcxJvGPmpR8NQCTPoLXkWm9rsjJCu7z+o41KamI5D8DHZ2GrPC7C+GSXz3Huo8N AfSQ== X-Gm-Message-State: AD7BkJJ/6ADAme93Rfe3ff7scl1M0bJzyGah86ImoNAXC81euuJbOCBcUm9Xddw6iDyqvg== 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 Cc: Eduardo Valentin , Krzysztof Kozlowski , Matthias Brugger , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org 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 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.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 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