code was broken

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1017 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2003-07-23 21:34:46 +00:00
parent 39264e2b3b
commit 7100d67ae8
1 changed files with 4 additions and 4 deletions

View File

@ -13,12 +13,12 @@ chip_configure(struct chip *root, enum chip_pass pass)
struct chip *c;
for (c = root; c; c = c->next) {
if (root->control && root->control->enable)
root->control->enable(root, pass);
if (c->control && c->control->enable)
c->control->enable(c, pass);
}
for (c = root; c; c = c->next) {
if (root->children)
chip_configure(root->children, pass);
if (c->children)
chip_configure(c->children, pass);
}
}