File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -399,13 +399,13 @@ static int pwm_nrfx_init(const struct device *dev)
399399#define PWM_MEM_REGION (inst ) DT_PHANDLE(DT_DRV_INST(inst), memory_regions)
400400
401401#define PWM_MEMORY_SECTION (inst ) \
402- COND_CODE_1(DT_NODE_HAS_PROP(inst, memory_regions), \
402+ COND_CODE_1(DT_NODE_HAS_PROP(DT_DRV_INST( inst) , memory_regions), \
403403 (__attribute__((__section__(LINKER_DT_NODE_REGION_NAME( \
404404 PWM_MEM_REGION(inst)))))), \
405405 ())
406406
407407#define PWM_GET_MEM_ATTR (inst ) \
408- COND_CODE_1(DT_NODE_HAS_PROP(inst, memory_regions), \
408+ COND_CODE_1(DT_NODE_HAS_PROP(DT_DRV_INST( inst) , memory_regions), \
409409 (DT_PROP_OR(PWM_MEM_REGION(inst), zephyr_memory_attr, 0)), (0))
410410
411411#define PWM_NRFX_DEFINE (inst ) \
You can’t perform that action at this time.
0 commit comments