diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2003-07-23 21:34:46 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2003-07-23 21:34:46 +0000 |
commit | 7100d67ae8344f6a3e9454fcf1f87243b66b1041 (patch) | |
tree | b61c28a76bd9efaf636abc5ab563cfee5158af4b /src | |
parent | 39264e2b3b08f5873936763cc8d8ecec44f5366f (diff) |
code was broken
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1017 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/chip.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/chip.c b/src/devices/chip.c index e99d731043..0074f2bede 100644 --- a/src/devices/chip.c +++ b/src/devices/chip.c @@ -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); } } |