diff --git a/drivers/gnss/Kconfig.luatos_air530z b/drivers/gnss/Kconfig.luatos_air530z index de200edb120..c5d09261da5 100644 --- a/drivers/gnss/Kconfig.luatos_air530z +++ b/drivers/gnss/Kconfig.luatos_air530z @@ -16,6 +16,8 @@ config GNSS_LUATOS_AIR530Z help Enable Luatos Air530z GNSS driver. +if GNSS_LUATOS_AIR530Z + config GNSS_LUATOS_AIR530Z_SATELLITES_COUNT int "Maximum satellite count" depends on GNSS_SATELLITES @@ -25,3 +27,5 @@ config GNSS_LUATOS_AIR530Z_SATELLITES_COUNT GNSS device. This does not affect the number of devices that the device is actually tracking, just how many of those can be reported in the satellites callback. + +endif diff --git a/drivers/gnss/Kconfig.u_blox_m8 b/drivers/gnss/Kconfig.u_blox_m8 index d4c21c12aa2..545c4a961cc 100644 --- a/drivers/gnss/Kconfig.u_blox_m8 +++ b/drivers/gnss/Kconfig.u_blox_m8 @@ -16,6 +16,8 @@ config GNSS_U_BLOX_M8 help Enable U-BLOX M8 GNSS modem driver. +if GNSS_U_BLOX_M8 + config GNSS_U_BLOX_M8_SATELLITES_COUNT int "Maximum satellite count" depends on GNSS_SATELLITES @@ -25,3 +27,5 @@ config GNSS_U_BLOX_M8_SATELLITES_COUNT the GNSS device. This does not affect the number of devices that the device is actually tracking, just how many of those can be reported in the satellites callback. + +endif