Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750882AbcCHVjw (ORCPT ); Tue, 8 Mar 2016 16:39:52 -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 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1228 Lines: 42 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 -- 2.1.4