summaryrefslogtreecommitdiff
path: root/src/superio
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/superio
parentfcdd571aee7592bd3f67283e70fba7608091ba04 (diff)
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/superio')
-rw-r--r--src/superio/NSC/pc87360/superio.c2
-rw-r--r--src/superio/NSC/pc87366/superio.c2
-rw-r--r--src/superio/winbond/w83627hf/superio.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/superio/NSC/pc87360/superio.c b/src/superio/NSC/pc87360/superio.c
index 50d71ea927..a9131569f5 100644
--- a/src/superio/NSC/pc87360/superio.c
+++ b/src/superio/NSC/pc87360/superio.c
@@ -21,7 +21,7 @@ static void init(device_t dev)
/* Wishlist handle well known programming interfaces more
* generically.
*/
- if (!dev->enable) {
+ if (!dev->enabled) {
return;
}
conf = dev->chip->chip_info;
diff --git a/src/superio/NSC/pc87366/superio.c b/src/superio/NSC/pc87366/superio.c
index 11da482582..7c492583f3 100644
--- a/src/superio/NSC/pc87366/superio.c
+++ b/src/superio/NSC/pc87366/superio.c
@@ -21,7 +21,7 @@ static void init(device_t dev)
/* Wishlist handle well known programming interfaces more
* generically.
*/
- if (!dev->enable) {
+ if (!dev->enabled) {
return;
}
conf = dev->chip->chip_info;
diff --git a/src/superio/winbond/w83627hf/superio.c b/src/superio/winbond/w83627hf/superio.c
index 0096fcd3dd..9773d477dd 100644
--- a/src/superio/winbond/w83627hf/superio.c
+++ b/src/superio/winbond/w83627hf/superio.c
@@ -83,7 +83,7 @@ static void w83627hf_init(device_t dev)
{
struct superio_winbond_w83627hf_config *conf;
struct resource *res0, *res1;
- if (!dev->enable) {
+ if (!dev->enabled) {
return;
}
conf = dev->chip->chip_info;
@@ -140,7 +140,7 @@ void w83627hf_pnp_enable_resources(device_t dev)
void w83627hf_pnp_enable(device_t dev)
{
- if (!dev->enable) {
+ if (!dev->enabled) {
pnp_enter_ext_func_mode(dev); // BY LYH
pnp_set_logical_device(dev);