]> git.dujemihanovic.xyz Git - u-boot.git/commit
adc: add missing depends on ADC for controller drivers
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 14 Mar 2024 09:36:27 +0000 (10:36 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 14 Mar 2024 10:20:04 +0000 (18:20 +0800)
commit1606bcb0b806e1da98372b2a2b0536e1bb5b4a16
treed1f8784bfa45cf572ffcc1cb36c7f874e843c486
parent768636c371482268cb9580f2056ec8a4f8099f96
adc: add missing depends on ADC for controller drivers

The ADC controller drivers are obviously all depending on ADC symbol
being selected.

While they don't seem to fail to build without, they won't be useful
without that symbol selected, so let's make sure the options aren't
shown in menuconfig when ADC isn't selected.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
drivers/adc/Kconfig