dts: Rename DT_HAS_NODE macro to DT_HAS_NODE_STATUS_OKAY
Rename DT_HAS_NODE to DT_HAS_NODE_STATUS_OKAY so the semantics are clear. As going forward DT_HAS_NODE will report if a NODE exists regardless of its status. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
93c5e253a4
commit
fdd85d5ad7
166 changed files with 883 additions and 872 deletions
|
@ -29,7 +29,7 @@
|
|||
#include <logging/log.h>
|
||||
LOG_MODULE_REGISTER(uart_stm32);
|
||||
|
||||
#define HAS_LPUART_1 (DT_HAS_NODE(DT_NODELABEL(lpuart1)) && \
|
||||
#define HAS_LPUART_1 (DT_HAS_NODE_STATUS_OKAY(DT_NODELABEL(lpuart1)) && \
|
||||
DT_NODE_HAS_COMPAT(DT_NODELABEL(lpuart1), \
|
||||
st_stm32_lpuart))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue