summaryrefslogtreecommitdiff
path: root/src/devices/root_device.c
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-04-29 20:08:54 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-04-29 20:08:54 +0000
commit69c5a905ede8053fd2993ed2e4ff14e9970f2dce (patch)
tree0790c872f03deea3d70ad433d58289b123e55aa6 /src/devices/root_device.c
parentfcdd571aee7592bd3f67283e70fba7608091ba04 (diff)
changed dev->enable to dev->enabled. Sorry, I am the only one who can't speak
English in the project. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1543 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/root_device.c')
-rw-r--r--src/devices/root_device.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/root_device.c b/src/devices/root_device.c
index 0bf5ea60a8..c2173d3947 100644
--- a/src/devices/root_device.c
+++ b/src/devices/root_device.c
@@ -78,7 +78,7 @@ unsigned int walk_static_devices(device_t bus, unsigned int max)
child->ops->enable(child);
}
printk_debug("%s %s\n", dev_path(child),
- child->enable?"enabled": "disabled");
+ child->enabled?"enabled": "disabled");
}
}
for (link = 0; link < bus->links; link++) {
@@ -124,12 +124,12 @@ struct device dev_root = {
.ops = &default_dev_ops_root,
.bus = &dev_root.link[0],
.path = { .type = DEVICE_PATH_ROOT },
- .enable = 1,
- .links = 1,
- .link = {
- [0] = {
- .dev = &dev_root,
- .link = 0,
- },
- },
+ .enabled = 1,
+ .links = 1,
+ .link = {
+ [0] = {
+ .dev = &dev_root,
+ .link = 0,
+ },
+ },
};