summaryrefslogtreecommitdiff
path: root/src/superio/nuvoton/nct5104d/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nuvoton/nct5104d/superio.c')
-rwxr-xr-xsrc/superio/nuvoton/nct5104d/superio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/superio/nuvoton/nct5104d/superio.c b/src/superio/nuvoton/nct5104d/superio.c
index 3c78cbcec9..ea6a342c93 100755
--- a/src/superio/nuvoton/nct5104d/superio.c
+++ b/src/superio/nuvoton/nct5104d/superio.c
@@ -55,8 +55,7 @@ static void nct5104d_pnp_enable_resources(device_t dev)
static void nct5104d_pnp_enable(device_t dev)
{
pnp_enter_exteded_mode(dev);
- pnp_set_logical_device(dev);
- (dev->enabled) ? pnp_set_enable(dev,1) : pnp_set_enable(dev,0);
+ pnp_alt_enable(dev);
pnp_exit_extended_mode(dev);
}