Skip to content

Commit 1467fb9

Browse files
rddunlaprafaeljw
authored andcommitted
thermal: intel: BXT_PMIC: select REGMAP instead of depending on it
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: b474303 ("thermal: add Intel BXT WhiskeyCove PMIC thermal driver") Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent f1b930e commit 1467fb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/thermal/intel/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ endmenu
7373

7474
config INTEL_BXT_PMIC_THERMAL
7575
tristate "Intel Broxton PMIC thermal driver"
76-
depends on X86 && INTEL_SOC_PMIC_BXTWC && REGMAP
76+
depends on X86 && INTEL_SOC_PMIC_BXTWC
77+
select REGMAP
7778
help
7879
Select this driver for Intel Broxton PMIC with ADC channels monitoring
7980
system temperature measurements and alerts.

0 commit comments

Comments
 (0)