Skip to content

Commit b4aea5a

Browse files
committed
storage: flash_map: use DT_LABEL macro
Change code to use DT_LABEL macro so its more obvious what is going on. Signed-off-by: Kumar Gala <[email protected]>
1 parent 0af66ad commit b4aea5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/zephyr/storage/flash_map.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ uint8_t flash_area_erased_val(const struct flash_area *fa);
258258
DT_HAS_FIXED_PARTITION_LABEL(label)
259259

260260
#define FLASH_AREA_LABEL_STR(lbl) \
261-
DT_PROP(DT_NODE_BY_FIXED_PARTITION_LABEL(lbl), label)
261+
DT_LABEL(DT_NODE_BY_FIXED_PARTITION_LABEL(lbl))
262262

263263
#define FLASH_AREA_ID(label) \
264264
DT_FIXED_PARTITION_ID(DT_NODE_BY_FIXED_PARTITION_LABEL(label))

0 commit comments

Comments
 (0)