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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/superio/winbond/w83627ehg/superio.c b/src/superio/winbond/w83627ehg/superio.c
index 7793fa4544..2f0a3a4869 100644
--- a/src/superio/winbond/w83627ehg/superio.c
+++ b/src/superio/winbond/w83627ehg/superio.c
@@ -23,9 +23,8 @@ static void enable_hwm_smbus(struct device *dev)
static void init_acpi(struct device *dev)
{
u8 value;
- int power_on = 1;
+ int power_on = get_int_option("power_on_after_fail", 1);
- get_option(&power_on, "power_on_after_fail");
pnp_enter_conf_mode(dev);
pnp_set_logical_device(dev);
value = pnp_read_config(dev, 0xe4);