commit | 8a4e75049dd0543aab4f286fafa41f0b404c59b4 | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Mon Feb 18 18:06:31 2008 +1100 |
committer | Jon Loeliger <jdl@freescale.com> | Mon Feb 18 08:27:13 2008 -0600 |
tree | adb8aa080209f68b9af42b9a84117d78528b27fe | |
parent | a90b5905fede1ebd2d6365103cc1d9b78f76217c [diff] |
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: David Gibson <david@gibson.dropbear.id.au>