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
This commit is contained in:
Li-Ta Lo 2004-04-29 20:08:54 +00:00
commit 69c5a905ed
13 changed files with 50 additions and 48 deletions

View file

@ -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,
},
},
};