summaryrefslogtreecommitdiff
path: root/src/superio/winbond/w83627dhg/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/winbond/w83627dhg/superio.c')
-rw-r--r--src/superio/winbond/w83627dhg/superio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/superio/winbond/w83627dhg/superio.c b/src/superio/winbond/w83627dhg/superio.c
index 2a58ef774f..7ed2367759 100644
--- a/src/superio/winbond/w83627dhg/superio.c
+++ b/src/superio/winbond/w83627dhg/superio.c
@@ -39,14 +39,12 @@ static void pnp_exit_ext_func_mode(device_t dev)
static void w83627dhg_init(device_t dev)
{
- struct superio_winbond_w83627dhg_config *conf;
+ struct superio_winbond_w83627dhg_config *conf = dev->chip_info;
struct resource *res0, *res1;
if (!dev->enabled)
return;
- conf = dev->chip_info;
-
switch(dev->path.pnp.device) {
case W83627DHG_SP1:
res0 = find_resource(dev, PNP_IDX_IO0);