flash_map: pointer dereferencing causes build to fail #48722
Labels
area: Flash
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
A recent change to flash_map is causing build problems. A pointer is not properly declared which causes the build to fail.
zephyr/subsys/storage/flash_map/flash_map_shell.c
Lines 26 to 28 in 5748762
flash_map_shell.c and flash_map.h do not include device.h so the device struct has an incomplete type hence the error. Including device.h in flash_map.h resolves the problem.
@JordanYates FYI. #47193 appears to have caused this issue.
The text was updated successfully, but these errors were encountered: