summaryrefslogtreecommitdiff
path: root/src/superio/ite
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite')
-rw-r--r--src/superio/ite/common/env_ctrl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/ite/common/env_ctrl.h b/src/superio/ite/common/env_ctrl.h
index 020f383be7..11316db276 100644
--- a/src/superio/ite/common/env_ctrl.h
+++ b/src/superio/ite/common/env_ctrl.h
@@ -77,7 +77,7 @@
#define ITE_EC_FAN_CTL_PWM_MODE_AUTOMATIC (1 << 7)
#define ITE_EC_FAN_CTL_PWM_DUTY_MASK (ITE_EC_FAN_MAX_PWM << 0)
#define ITE_EC_FAN_CTL_PWM_DUTY(p) \
- ({ \
+ ({ \
const unsigned int _p = p; \
(_p >= 100) \
? ITE_EC_FAN_MAX_PWM \