diff options
Diffstat (limited to 'src/superio/smsc/lpc47n227')
-rw-r--r-- | src/superio/smsc/lpc47n227/superio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/smsc/lpc47n227/superio.c b/src/superio/smsc/lpc47n227/superio.c index 2a4ead9884..20345b8230 100644 --- a/src/superio/smsc/lpc47n227/superio.c +++ b/src/superio/smsc/lpc47n227/superio.c @@ -116,7 +116,7 @@ void lpc47n227_pnp_enable_resources(device_t dev) void lpc47n227_pnp_enable(device_t dev) { pnp_enter_conf_state(dev); - lpc47n227_pnp_set_enable(dev, (dev->enabled) ? 1 : 0); + lpc47n227_pnp_set_enable(dev, !!dev->enabled); pnp_exit_conf_state(dev); } |