Skip to content
Snippets Groups Projects
Commit d0ccb9b1 authored by David Gibson's avatar David Gibson Committed by Gerald Van Baren
Browse files

libfdt: Trivial cleanup for CHECK_HEADER)


Currently the CHECK_HEADER() macro is defined local to fdt_ro.c.
However, there are a handful of functions (fdt_move, rw_check_header,
fdt_open_into) from other files which could also use it (currently
they open-code something more-or-less identical).  Therefore, this
patch moves CHECK_HEADER() to libfdt_internal.h and uses it in those
places.

Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent fe30a354
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment