diff options
author | Gerald Van Baren <vanbaren@cideas.com> | 2007-04-06 14:17:14 -0400 |
---|---|---|
committer | Gerald Van Baren <vanbaren@cideas.com> | 2007-04-06 14:17:14 -0400 |
commit | 6679f9299534e488a171a9bb8f9bb891de247aab (patch) | |
tree | 54a46588f754667b0bc23eed590df587922d298d /libfdt/fdt_rw.c | |
parent | 25b0806fff1f1fd24f69f6d9ef04d8345667e60b (diff) | |
download | u-boot-imx-6679f9299534e488a171a9bb8f9bb891de247aab.zip u-boot-imx-6679f9299534e488a171a9bb8f9bb891de247aab.tar.gz u-boot-imx-6679f9299534e488a171a9bb8f9bb891de247aab.tar.bz2 |
libfdt: Make fdt_check_header() public
Changed _fdt_check_header() to fdt_check_header() and made it part of
the interface - it is a useful routine.
Also did some asthetics cleanup to the include files (headers).
Diffstat (limited to 'libfdt/fdt_rw.c')
-rw-r--r-- | libfdt/fdt_rw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdt/fdt_rw.c b/libfdt/fdt_rw.c index b33fbf4..aaafc53 100644 --- a/libfdt/fdt_rw.c +++ b/libfdt/fdt_rw.c @@ -27,7 +27,7 @@ static int rw_check_header(void *fdt) { int err; - if ((err = _fdt_check_header(fdt))) + if ((err = fdt_check_header(fdt))) return err; if (fdt_version(fdt) < 0x11) return -FDT_ERR_BADVERSION; |