mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 18:35:28 +00:00
mec1322: Don't try to inline pwm_get_keep_awake_mask()
The function is defined in pwm.c but only used outside of pwm.c, so inlining the function won't work anyways. Signed-off-by: Stefan Reinauer <reinauer@chromium.org> BUG=none BRANCH=none TEST=compile tested Change-Id: Ibeea86dd504092f962f24ab1ec4df55088a23290 Reviewed-on: https://chromium-review.googlesource.com/343283 Commit-Ready: Stefan Reinauer <reinauer@chromium.org> Tested-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
ed91068917
commit
a0e40c7515
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user