summaryrefslogtreecommitdiff
path: root/include/pwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pwm.h')
-rw-r--r--include/pwm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pwm.h b/include/pwm.h
index b56f9f8c1a..48963d9d3c 100644
--- a/include/pwm.h
+++ b/include/pwm.h
@@ -6,10 +6,10 @@
#ifndef __CROS_EC_PWM_H
#define __CROS_EC_PWM_H
-#include "util.h"
-
#include <inttypes.h>
+#include "util.h"
+
#define PWM_RAW_TO_PERCENT(v) DIV_ROUND_NEAREST((uint32_t)(v)*100, UINT16_MAX)
#define PWM_PERCENT_TO_RAW(v) ((uint32_t)(v)*UINT16_MAX / 100)