diff --git a/chip/mec1322/pwm.c b/chip/mec1322/pwm.c index 3708300f71..64547490f4 100644 --- a/chip/mec1322/pwm.c +++ b/chip/mec1322/pwm.c @@ -55,7 +55,7 @@ int pwm_get_duty(enum pwm_channel ch) return MEC1322_PWM_ON(pwm_channels[ch].channel); } -inline uint32_t pwm_get_keep_awake_mask(void) +uint32_t pwm_get_keep_awake_mask(void) { return pwm_keep_awake_mask; } diff --git a/chip/mec1322/pwm_chip.h b/chip/mec1322/pwm_chip.h index c52f586291..fc8cbb0882 100644 --- a/chip/mec1322/pwm_chip.h +++ b/chip/mec1322/pwm_chip.h @@ -22,5 +22,5 @@ extern const struct pwm_t pwm_channels[]; * Returns PWMs that must remain active in low-power idle - * MEC1322_PCR_EC_SLP_EN bit mask. */ -inline uint32_t pwm_get_keep_awake_mask(void); +uint32_t pwm_get_keep_awake_mask(void); #endif /* __CROS_EC_PWM_CHIP_H */