summaryrefslogtreecommitdiff
path: root/src/superio/winbond/w83627ehg/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/winbond/w83627ehg/superio.c')
-rw-r--r--src/superio/winbond/w83627ehg/superio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/winbond/w83627ehg/superio.c b/src/superio/winbond/w83627ehg/superio.c
index bd73e0e85d..fcb635f5a0 100644
--- a/src/superio/winbond/w83627ehg/superio.c
+++ b/src/superio/winbond/w83627ehg/superio.c
@@ -69,9 +69,9 @@ static void enable_hwm_smbus(device_t dev) {
static void init_acpi(device_t dev)
{
uint8_t value = 0x20;
- int power_on = 1;
+ uint32_t power_on = 1;
- get_option(&power_on, "power_on_after_fail");
+ get_option("power_on_after_fail", &power_on);
pnp_enter_ext_func_mode(dev);
pnp_write_index(dev->path.pnp.port, 7, 0x0a);
value = pnp_read_config(dev, 0xe4);