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 @@ -480,13 +480,13 @@ static int pwm_nrfx_init(const struct device *dev)
480480#define PWM_MEM_REGION (inst ) DT_PHANDLE(DT_DRV_INST(inst), memory_regions)
481481
482482#define PWM_MEMORY_SECTION (inst ) \
483- COND_CODE_1(DT_NODE_HAS_PROP(inst, memory_regions), \
483+ COND_CODE_1(DT_NODE_HAS_PROP(DT_DRV_INST( inst) , memory_regions), \
484484 (__attribute__((__section__(LINKER_DT_NODE_REGION_NAME( \
485485 PWM_MEM_REGION(inst)))))), \
486486 ())
487487
488488#define PWM_GET_MEM_ATTR (inst ) \
489- COND_CODE_1(DT_NODE_HAS_PROP(inst, memory_regions), \
489+ COND_CODE_1(DT_NODE_HAS_PROP(DT_DRV_INST( inst) , memory_regions), \
490490 (DT_PROP_OR(PWM_MEM_REGION(inst), zephyr_memory_attr, 0)), (0))
491491
492492/* Fast instances depend on the global HSFLL clock controller (as they need
You can’t perform that action at this time.
0 commit comments