summaryrefslogtreecommitdiff
path: root/src/superio/fintek/f71859
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/fintek/f71859')
-rwxr-xr-xsrc/superio/fintek/f71859/superio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/fintek/f71859/superio.c b/src/superio/fintek/f71859/superio.c
index d7d71c6ec8..6c74d81516 100755
--- a/src/superio/fintek/f71859/superio.c
+++ b/src/superio/fintek/f71859/superio.c
@@ -74,7 +74,7 @@ static void f71859_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);
}