diff options
Diffstat (limited to 'src/superio/smsc/lpc47n217/superio.c')
-rw-r--r-- | src/superio/smsc/lpc47n217/superio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/smsc/lpc47n217/superio.c b/src/superio/smsc/lpc47n217/superio.c index 4cc580643f..b1455330d0 100644 --- a/src/superio/smsc/lpc47n217/superio.c +++ b/src/superio/smsc/lpc47n217/superio.c @@ -119,7 +119,7 @@ static void lpc47n217_pnp_enable_resources(device_t dev) static void lpc47n217_pnp_enable(device_t dev) { pnp_enter_conf_state(dev); - lpc47n217_pnp_set_enable(dev, (dev->enabled) ? 1 : 0); + lpc47n217_pnp_set_enable(dev, !!dev->enabled); pnp_exit_conf_state(dev); } |