From: "Hanyi Wu (吴含贻)" <hanyi.wu@mediatek.com>
To: "Randy Dunlap" <rdunlap@infradead.org>,
LKML <linux-kernel@vger.kernel.org>,
"Linux PM list" <linux-pm@vger.kernel.org>,
"Dawei Chien (錢大衛)" <Dawei.Chien@mediatek.com>
Cc: "Zhang Rui" <rui.zhang@intel.com>,
"Eduardo Valentin" <edubezval@gmail.com>,
"Sascha Hauer" <s.hauer@pengutronix.de>,
"Fan Chen (陳凡)" <fan.chen@mediatek.com>
Subject: 答复: [PATCH -next] thermal: fix mtk_thermal build dependency
Date: Wed, 20 Apr 2016 01:18:19 +0000 [thread overview]
Message-ID: <BC64F1837C46CA46A229B74D63EE1D37C4B102C6@mtkmbs31n1> (raw)
In-Reply-To: <57166067.4090009@infradead.org>
HI Dawei,
Please help to check it, Thanks
Best Regards
Hanyi
-----邮件原件-----
发件人: Randy Dunlap [mailto:rdunlap@infradead.org]
发送时间: Wednesday, April 20, 2016 12:44 AM
收件人: LKML <linux-kernel@vger.kernel.org>; Linux PM list <linux-pm@vger.kernel.org>
抄送: Zhang Rui <rui.zhang@intel.com>; Eduardo Valentin <edubezval@gmail.com>; Sascha Hauer <s.hauer@pengutronix.de>; Hanyi Wu (吴含贻) <hanyi.wu@mediatek.com>
主题: [PATCH -next] thermal: fix mtk_thermal build dependency
From: Randy Dunlap <rdunlap@infradead.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@infradead.org>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: <linux-pm@vger.kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Hanyi Wu <hanyi.wu@mediatek.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
prev parent reply other threads:[~2016-04-20 1:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-19 16:44 [PATCH -next] thermal: fix mtk_thermal build dependency Randy Dunlap
2016-04-20 1:18 ` Hanyi Wu (吴含贻) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BC64F1837C46CA46A229B74D63EE1D37C4B102C6@mtkmbs31n1 \
--to=hanyi.wu@mediatek.com \
--cc=Dawei.Chien@mediatek.com \
--cc=edubezval@gmail.com \
--cc=fan.chen@mediatek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=rui.zhang@intel.com \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).