diff options
Diffstat (limited to 'src/superio/smsc/lpc47b272/superio.c')
-rw-r--r-- | src/superio/smsc/lpc47b272/superio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/smsc/lpc47b272/superio.c b/src/superio/smsc/lpc47b272/superio.c index 5bf385c7fb..0f5ea9272b 100644 --- a/src/superio/smsc/lpc47b272/superio.c +++ b/src/superio/smsc/lpc47b272/superio.c @@ -105,7 +105,7 @@ static void lpc47b272_pnp_enable(device_t dev) { pnp_enter_conf_state(dev); pnp_set_logical_device(dev); - pnp_set_enable(dev, (dev->enabled) ? 1 : 0); + pnp_set_enable(dev, !!dev->enabled); pnp_exit_conf_state(dev); } |