cmd: Kconfig: Change dependency for CMD_ADC
authorMichal Simek <michal.simek@xilinx.com>
Wed, 19 Aug 2020 08:44:17 +0000 (10:44 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 27 Aug 2020 15:26:39 +0000 (11:26 -0400)
commit6e741cfa9392ffe3fe87d7657ea9f828bfec4abc
tree2b15dab4f333037b054543a474a268e70582b4ff
parenta261fdce381639b93b0efed5d5202c60d92f0e37
cmd: Kconfig: Change dependency for CMD_ADC

CMD_ADC selected DM_REGULATOR unconditionally without enabling DM.
That's why change select to depends on to cover it.

Kconfig is showing this issue as:
WARNING: unmet direct dependencies detected for REGMAP
  Depends on [n]: DM [=n]
  Selected by [y]:
  - DM_REGULATOR_PBIAS [=y] && DM_REGULATOR [=y]

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
[trini: Update CMD_ADC=y configs to enable DM_REGULATOR now]
Signed-off-by: Tom Rini <trini@konsulko.com>
12 files changed:
cmd/Kconfig
configs/khadas-vim2_defconfig
configs/khadas-vim_defconfig
configs/libretech-ac_defconfig
configs/libretech-cc_defconfig
configs/libretech-s905d-pc_defconfig
configs/libretech-s912-pc_defconfig
configs/odroid-c2_defconfig
configs/stm32mp15_basic_defconfig
configs/stm32mp15_dhcom_basic_defconfig
configs/stm32mp15_dhcor_basic_defconfig
configs/stm32mp15_trusted_defconfig