summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-04-29 20:30:02 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-04-29 20:30:02 +0000
commitd16753be863e6c5729af904f4034495b4a58efe9 (patch)
tree1ecc170ef1f57dbbdd916198bb90cf192bd8fca8 /src
parent69c5a905ede8053fd2993ed2e4ff14e9970f2dce (diff)
chaged chip_device_path::enable to chip_device_path::enabled,
again, I am the only one who can't speak English. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1544 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/devices/chip.c2
-rw-r--r--src/include/device/chip.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/chip.c b/src/devices/chip.c
index 5066ef2abc..4c74949e46 100644
--- a/src/devices/chip.c
+++ b/src/devices/chip.c
@@ -115,7 +115,7 @@ void chip_enumerate(struct chip *chip)
printk_spew(" parent: (%p) %s\n",
dev->bus->dev, dev_path(dev->bus->dev));
dev->chip = chip;
- dev->enabled = chip->path[i].enable;
+ dev->enabled = chip->path[i].enabled;
dev->links = link + 1;
for (child = chip->children; child; child = child->next) {
if (!child->bus && child->link == i) {
diff --git a/src/include/device/chip.h b/src/include/device/chip.h
index 7dface868f..5f4e36b87c 100644
--- a/src/include/device/chip.h
+++ b/src/include/device/chip.h
@@ -56,7 +56,7 @@ struct chip_resource {
struct chip_device_path {
struct device_path path;
unsigned channel;
- int enable;
+ int enabled;
struct chip_resource resource[MAX_RESOURCES];
};