[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BC64F1837C46CA46A229B74D63EE1D37C4B102C6@mtkmbs31n1>
Date: Wed, 20 Apr 2016 01:18:19 +0000
From: Hanyi Wu (吴含贻) <hanyi.wu@...iatek.com>
To: Randy Dunlap <rdunlap@...radead.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux PM list <linux-pm@...r.kernel.org>,
Dawei Chien (錢大衛)
<Dawei.Chien@...iatek.com>
CC: Zhang Rui <rui.zhang@...el.com>,
Eduardo Valentin <edubezval@...il.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
Fan Chen (陳凡) <fan.chen@...iatek.com>
Subject: 答复: [PATCH -next] thermal: fix mtk_thermal build dependency
HI Dawei,
Please help to check it, Thanks
Best Regards
Hanyi
-----邮件原件-----
发件人: Randy Dunlap [mailto:rdunlap@...radead.org]
发送时间: Wednesday, April 20, 2016 12:44 AM
收件人: LKML <linux-kernel@...r.kernel.org>; Linux PM list <linux-pm@...r.kernel.org>
抄送: Zhang Rui <rui.zhang@...el.com>; Eduardo Valentin <edubezval@...il.com>; Sascha Hauer <s.hauer@...gutronix.de>; Hanyi Wu (吴含贻) <hanyi.wu@...iatek.com>
主题: [PATCH -next] thermal: fix mtk_thermal build dependency
From: Randy Dunlap <rdunlap@...radead.org>
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 <rdunlap@...radead.org>
Cc: Zhang Rui <rui.zhang@...el.com>
Cc: Eduardo Valentin <edubezval@...il.com>
Cc: <linux-pm@...r.kernel.org>
Cc: Sascha Hauer <s.hauer@...gutronix.de>
Cc: Hanyi Wu <hanyi.wu@...iatek.com>
---
drivers/thermal/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20160419.orig/drivers/thermal/Kconfig
+++ linux-next-20160419/drivers/thermal/Kconfig
@@ -366,6 +366,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
Powered by blists - more mailing lists