From 56e325ca833ba33c0c1b720ea52d5517085a1ff7 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Thu, 16 Dec 2021 11:09:52 +0100 Subject: [PATCH] drivers: wifi: esp_at: use instance based macros Replace usage of DT_DRV_INST with instance based macros. Signed-off-by: Gerard Marull-Paretas --- drivers/wifi/esp_at/esp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/wifi/esp_at/esp.h b/drivers/wifi/esp_at/esp.h index 3a1b7315bf5..b88421be1cb 100644 --- a/drivers/wifi/esp_at/esp.h +++ b/drivers/wifi/esp_at/esp.h @@ -59,7 +59,7 @@ extern "C" { #define ESP_PROTO_PASSIVE(proto) 0 #endif /* CONFIG_WIFI_ESP_AT_PASSIVE_MODE */ -#define ESP_BUS DT_BUS(DT_DRV_INST(0)) +#define ESP_BUS DT_INST_BUS(0) #if DT_PROP(ESP_BUS, hw_flow_control) == 1 #define _FLOW_CONTROL "3"