Skip to content

Commit cc1894b

Browse files
ycsinjhedberg
authored andcommitted
soc: nxp: rw: remove DT_NODE_HAS_STATUS_OKAY
We do not have `DT_NODE_HAS_STATUS_OKAY`, change that to `DT_NODE_HAS_STATUS(node_id, okay)` instead Signed-off-by: Yong Cong Sin <[email protected]>
1 parent a20e962 commit cc1894b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soc/nxp/rw/soc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ static int nxp_rw600_init(void)
290290
#define PMU_RESET_CAUSES \
291291
COND_CODE_0(IS_EMPTY(PMU_RESET_CAUSES_), (PMU_RESET_CAUSES_), (0))
292292
#define WDT_RESET \
293-
COND_CODE_1(DT_NODE_HAS_STATUS_OKAY(wwdt), (kPOWER_ResetSourceWdt), (0))
293+
COND_CODE_1(DT_NODE_HAS_STATUS(wwdt, okay), (kPOWER_ResetSourceWdt), (0))
294294
#define RESET_CAUSES \
295295
(PMU_RESET_CAUSES | WDT_RESET)
296296
#else

0 commit comments

Comments
 (0)