summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/amd8111/amd8111.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/southbridge/amd/amd8111/amd8111.c
parentfcdd571aee7592bd3f67283e70fba7608091ba04 (diff)
downloadcoreboot-69c5a905ede8053fd2993ed2e4ff14e9970f2dce.tar.xz
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/southbridge/amd/amd8111/amd8111.c')
-rw-r--r--src/southbridge/amd/amd8111/amd8111.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/amd8111/amd8111.c b/src/southbridge/amd/amd8111/amd8111.c
index ccf26b623e..e576ea8f0c 100644
--- a/src/southbridge/amd/amd8111/amd8111.c
+++ b/src/southbridge/amd/amd8111/amd8111.c
@@ -40,7 +40,7 @@ void amd8111_enable(device_t dev)
}
reg = reg_old = pci_read_config16(lpc_dev, 0x48);
reg &= ~(1 << index);
- if (dev->enable) {
+ if (dev->enabled) {
reg |= (1 << index);
}
if (reg != reg_old) {