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/superio/winbond/w83627hf/superio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/superio/winbond/w83627hf') 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); -- cgit v1.2.3