boards/avr/avrdx/breadxavr: fix dependency in Kconfig

Button input driver support depends on AVRDx GPIO ISR multiplexer
but the configuration option did not enforce it.

Signed-off-by: Kerogit <kr.git@kerogit.eu>
This commit is contained in:
Kerogit
2025-05-09 01:44:43 +02:00
committed by Xiang Xiao
parent 83872330ed
commit 034d76f28f

View File

@@ -7,7 +7,7 @@ if ARCH_BOARD_AVRDX_BREADXAVR
config BREADXAVR_BUTTONS_DRIVER
bool "Enable button input driver for GPIO pins"
depends on (INPUT_BUTTONS && INPUT_BUTTONS_LOWER && BOARD_EARLY_INITIALIZE)
depends on INPUT_BUTTONS && INPUT_BUTTONS_LOWER && BOARD_EARLY_INITIALIZE && AVR_AVRDX_GPIO_ISR_MUX
default n
---help---
If set, button driver registered as /dev/buttons