drivers: regulator: fix NXP VREF Kconfig leakage
Properly guard NXP VREF driver Kconfig options. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
b7bef3f8ff
commit
a761c55144
|
@ -3,12 +3,14 @@
|
|||
|
||||
config REGULATOR_NXP_VREF
|
||||
bool "NXP VREF peripheral driver"
|
||||
default y if DT_HAS_NXP_VREF_ENABLED
|
||||
default y
|
||||
depends on DT_HAS_NXP_VREF_ENABLED
|
||||
help
|
||||
Enable the NXP VREF driver
|
||||
|
||||
config REGULATOR_NXP_VREF_INIT_PRIORITY
|
||||
int "NXP VREF peripheral driver init priority"
|
||||
default 45
|
||||
depends on DT_HAS_NXP_VREF_ENABLED
|
||||
help
|
||||
Init priority for the NXP VREF peripheral.
|
||||
|
|
Loading…
Reference in a new issue