drivers: gpio: fxl6408: Fix Kconfig dependency for log level config

This makes Kconfig logging options for this driver depending on whether
the driver is enabled or not.

Signed-off-by: Caspar Friedrich <c.s.w.friedrich@gmail.com>
This commit is contained in:
Caspar Friedrich 2023-06-04 15:08:08 +02:00 committed by Anas Nashif
parent 2e0b0af44e
commit 24622f36c8

View file

@ -9,13 +9,16 @@ menuconfig GPIO_FXL6408
help
Enable driver for FXL6408 I2C-based GPIO chip.
if GPIO_FXL6408
config GPIO_FXL6408_INIT_PRIORITY
int "Init priority"
default 80
depends on GPIO_FXL6408
help
Device driver initialization priority.
module = FXL6408
module-str = fxl6408
source "subsys/logging/Kconfig.template.log_config"
endif # GPIO_FXL6408