summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-09-26 13:11:05 +1000
committerJon Loeliger <jdl@freescale.com>2007-09-27 08:21:18 -0500
commitfb7c7acf5a4187ea810043ae17854625a313b725 (patch)
tree9d928b365ed812c4e8fe3062d48167de1f29a178 /data.c
parent63dc9c7113cd0fff60d04b05cd8053e70279f9d4 (diff)
downloaddevice-tree-compiler-fb7c7acf5a4187ea810043ae17854625a313b725.tar.gz
dtc: Use libfdt/fdt.h instead of flat_dt.h
In the dtc tree, both flat_dt.h and libfdt/fdt.h have structures and constants relating to the flattened device tree format derived from asm-powerpc/prom.h in the kernel. The former is used in dtc, the latter in libfdt. libfdt/fdt.h is the more recent, revised version, so use that throughout, removing flat_dt.h. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'data.c')
-rw-r--r--data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/data.c b/data.c
index 2602249..1836f08 100644
--- a/data.c
+++ b/data.c
@@ -246,9 +246,9 @@ struct data data_append_cell(struct data d, cell_t word)
return data_append_data(d, &beword, sizeof(beword));
}
-struct data data_append_re(struct data d, struct reserve_entry *re)
+struct data data_append_re(struct data d, struct fdt_reserve_entry *re)
{
- struct reserve_entry bere;
+ struct fdt_reserve_entry bere;
bere.address = cpu_to_be64(re->address);
bere.size = cpu_to_be64(re->size);