The .next pointer was written twice for every struct device in

statictree.c. This bug was introduced in r175.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@859 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Carl-Daniel Hailfinger 2008-09-06 20:30:26 +00:00
parent ade1cd1f11
commit d2d95b25cc

View file

@ -661,8 +661,6 @@ static void coreboot_emit_special(FILE *e, struct node *tree)
}
if (tree->next_sibling)
fprintf(f, "\t.sibling = &dev_%s,\n", tree->next_sibling->label);
if (tree->next)
fprintf(f, "\t.next = &dev_%s,\n", tree->next->label);
/* now do we do next? */
/* this will need to do a bus for every child. And, below, we're going to need to find which bus we're on*/
/* for now, let's keep it to the minimum that will work, while we see if we like this. */