]> git.dujemihanovic.xyz Git - u-boot.git/commit
button: add missing ADC dependency for BUTTON_ADC
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 14 Mar 2024 09:36:28 +0000 (10:36 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 14 Mar 2024 10:20:04 +0000 (18:20 +0800)
commit759ae818ba760e97a895bdaa1cd7a86f8972ea93
tree1240d1927a0af5475069eb59c0dccfce9052d041
parent1606bcb0b806e1da98372b2a2b0536e1bb5b4a16
button: add missing ADC dependency for BUTTON_ADC

The BUTTON_ADC symbol guards the compilation of button-adc driver whose
name very well makes it explicit that it requires ADC support to be
enabled.

Fix build issue of button-adc driver when ADC support isn't enabled by
making sure it cannot be built without ADC support.

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/button/Kconfig