Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753259AbbGBGkS (ORCPT ); Thu, 2 Jul 2015 02:40:18 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:53083 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753022AbbGBGkJ (ORCPT ); Thu, 2 Jul 2015 02:40:09 -0400 X-AuditID: cbfee68e-f79c56d000006efb-93-5594dcc70578 From: Chanwoo Choi To: l.majewski@samsung.com, eduardo.valentin@ti.com, rui.zhang@intel.com Cc: kgene@kernel.org, k.kozlowski@samsung.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Chanwoo Choi , Eduardo Valentin Subject: [PATCH 1/2] thermal: exynos: Add the dependency of CONFIG_THERMAL_OF instead of CONFIG_OF Date: Thu, 02 Jul 2015 15:40:00 +0900 Message-id: <1435819201-30729-2-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1435819201-30729-1-git-send-email-cw00.choi@samsung.com> References: <1435819201-30729-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsWyRsSkWPf4nSmhBi1zBCyuf3nOarFm/08m i/lXrrFavH5haNH/+DWzxZuHmxktLu+aw2bxufcIo8WM8/uYLJ487GNz4PLYOesuu8fiPS+Z PDat6mTz6NuyitHj+I3tTB6fN8kFsEVx2aSk5mSWpRbp2yVwZcxav4al4AtXxfY3J5gaGPs4 uxg5OSQETCRmH3nFBGGLSVy4t56ti5GLQ0hgKaPErXnrWWGKtmzbyASRmM4ocb9vBlTVF0aJ 4/3TWECq2AS0JPa/uAGU4OAQEfCQWLQ4BKSGWeAWo8THo4vAJgkLpEj8eb8AzGYRUJXoun+d HcTmFXCVeNR4lQ1im4LEsuUzwWo4Bdwkbr9oBJsvBFSz/covRpChEgLb2CWutR5ighgkIPFt 8i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eWpGanphakFsH0MXFwSjUwim95V3NqAuf+HbOnTt9Syiv/aVLbVp2TkoFz GdaVBkXtfyxxdbetTZTXrhkpl81Sd061rbA7yHTb4OM79x+X+9cdnZ3PNPlicksVw6WX6icW xulvZVLrlOtdwFyoL1C5V0/sM5t9R9LCM34mByZ//PHWN9l+4rGQae8yFTpXcS9J3V+u92NV hBJLcUaioRZzUXEiAIsinUTMAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1608 Lines: 38 The exynos thermal driver use the of_thermal_*() API to parse the basic data for thermal management from devicetree file. So, if CONFIG_EXYNOS_THERMAL is selected without CONFIG_THERMAL_OF, kernel can build it without any problem. But, exynos thermal driver is not working with following error log. This patch add the dependency of CONFIG_THERMAL_OF instead of CONFIG_OF. [ 1.458644] get_th_reg: Cannot get trip points from of-thermal.c! [ 1.459096] get_th_reg: Cannot get trip points from of-thermal.c! [ 1.465211] exynos4412_tmu_initialize: No CRITICAL trip point defined at of-thermal.c! Cc: Zhang Rui Cc: Eduardo Valentin Cc: Lukasz Majewski Signed-off-by: Chanwoo Choi --- drivers/thermal/samsung/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/samsung/Kconfig b/drivers/thermal/samsung/Kconfig index c8e35c1a43dc..e0da3865e060 100644 --- a/drivers/thermal/samsung/Kconfig +++ b/drivers/thermal/samsung/Kconfig @@ -1,6 +1,6 @@ config EXYNOS_THERMAL tristate "Exynos thermal management unit driver" - depends on OF + depends on THERMAL_OF help If you say yes here you get support for the TMU (Thermal Management Unit) driver for SAMSUNG EXYNOS series of SoCs. This driver initialises -- 1.8.5.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/