From 69c5a905ede8053fd2993ed2e4ff14e9970f2dce Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Thu, 29 Apr 2004 20:08:54 +0000 Subject: 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 --- src/devices/root_device.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/devices/root_device.c') 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, + }, + }, }; -- cgit v1.2.3