summaryrefslogtreecommitdiff
path: root/src/superio/fintek/f71863fg
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/fintek/f71863fg')
-rw-r--r--src/superio/fintek/f71863fg/superio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/fintek/f71863fg/superio.c b/src/superio/fintek/f71863fg/superio.c
index 92e317b02c..3c7ebd277a 100644
--- a/src/superio/fintek/f71863fg/superio.c
+++ b/src/superio/fintek/f71863fg/superio.c
@@ -81,7 +81,7 @@ static void f71863fg_pnp_enable(device_t dev)
{
pnp_enter_conf_state(dev);
pnp_set_logical_device(dev);
- (dev->enabled) ? pnp_set_enable(dev, 1) : pnp_set_enable(dev, 0);
+ pnp_set_enable(dev, !!dev->enabled);
pnp_exit_conf_state(dev);
}