Commit bdaf6f35 authored by Randy Dunlap's avatar Randy Dunlap Committed by sanglipeng
Browse files

thermal: intel: BXT_PMIC: select REGMAP instead of depending on it

stable inclusion
from stable-v5.10.173
commit e30b26e746175a775921b948479308644336b796
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7X0QU

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e30b26e746175a775921b948479308644336b796



--------------------------------

[ Upstream commit 1467fb96 ]

REGMAP is a hidden (not user visible) symbol. Users cannot set it
directly thru "make *config", so drivers should select it instead of
depending on it if they need it.

Consistently using "select" or "depends on" can also help reduce
Kconfig circular dependency issues.

Therefore, change the use of "depends on REGMAP" to "select REGMAP".

Fixes: b474303f ("thermal: add Intel BXT WhiskeyCove PMIC thermal driver")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent fc958195
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment