aboutsummaryrefslogtreecommitdiff
path: root/fstree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fstree.c')
-rw-r--r--fstree.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fstree.c b/fstree.c
index 6d1beec..ae7d06c 100644
--- a/fstree.c
+++ b/fstree.c
@@ -79,13 +79,12 @@ static struct node *read_fstree(const char *dirname)
return tree;
}
-struct boot_info *dt_from_fs(const char *dirname)
+struct dt_info *dt_from_fs(const char *dirname)
{
struct node *tree;
tree = read_fstree(dirname);
tree = name_node(tree, "");
- return build_boot_info(NULL, tree, guess_boot_cpuid(tree));
+ return build_dt_info(DTSF_V1, NULL, tree, guess_boot_cpuid(tree));
}
-