diff options
Diffstat (limited to 'src/devices/root_device.c')
-rw-r--r-- | src/devices/root_device.c | 18 |
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, + }, + }, }; |