]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
thermal: fix mtk_thermal build dependency
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 19 Apr 2016 16:44:23 +0000 (09:44 -0700)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 20 Apr 2016 23:22:46 +0000 (16:22 -0700)
commit62e14f6fd383f756ff3fe5f6fb7aa5b546bb47e3
treeea74f86c78061ee2bbf14eebefa808af8c604f45
parent9ebfb4e09959b03b58b65b5a6c04f70dd57d4f6b
thermal: fix mtk_thermal build dependency

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>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/Kconfig