zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY
Change instances of: DT_NODE_HAS_STATUS(<node_id>, okay) to DT_NODE_HAS_STATUS_OKAY(<node_id>) Signed-off-by: Yong Cong Sin <ycsin@meta.com> Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
parent
5aebd1276d
commit
52a202309b
180 changed files with 743 additions and 738 deletions
|
@ -17,9 +17,9 @@
|
|||
#include "fsl_flashiap.h"
|
||||
|
||||
|
||||
#if DT_NODE_HAS_STATUS(DT_INST(0, nxp_iap_fmc11), okay)
|
||||
#if DT_NODE_HAS_STATUS_OKAY(DT_INST(0, nxp_iap_fmc11))
|
||||
#define DT_DRV_COMPAT nxp_iap_fmc11
|
||||
#elif DT_NODE_HAS_STATUS(DT_INST(0, nxp_iap_fmc54), okay)
|
||||
#elif DT_NODE_HAS_STATUS_OKAY(DT_INST(0, nxp_iap_fmc54))
|
||||
#define DT_DRV_COMPAT nxp_iap_fmc54
|
||||
#else
|
||||
#error No matching compatible for soc_flash_lpc.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue