summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8720f
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/it8720f')
-rw-r--r--src/superio/ite/it8720f/superio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/ite/it8720f/superio.c b/src/superio/ite/it8720f/superio.c
index 0ecbddc6a2..c63fa9ab4f 100644
--- a/src/superio/ite/it8720f/superio.c
+++ b/src/superio/ite/it8720f/superio.c
@@ -17,7 +17,7 @@
static void power_control_init(struct device *dev)
{
- int power_on = get_int_option("power_on_after_fail", MAINBOARD_POWER_OFF);
+ unsigned int power_on = get_uint_option("power_on_after_fail", MAINBOARD_POWER_OFF);
u8 value;
pnp_enter_conf_mode(dev);