diff --git a/drivers/gpio/Kconfig.sx1509b b/drivers/gpio/Kconfig.sx1509b index 37c4ce594dc..343f560b82e 100644 --- a/drivers/gpio/Kconfig.sx1509b +++ b/drivers/gpio/Kconfig.sx1509b @@ -3,8 +3,12 @@ # Copyright (c) 2018 Aapo Vienamo # SPDX-License-Identifier: Apache-2.0 +# Workaround for not being able to have commas in macro arguments +DT_COMPAT_SEMTECH_SX1509B := semtech,sx1509b + menuconfig GPIO_SX1509B bool "SX1509B I2C GPIO chip" + default $(dt_compat_enabled,$(DT_COMPAT_SEMTECH_SX1509B)) depends on I2C select HAS_DTS_GPIO help