mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
Don't declare functions inline that aren't always defined as such
gcc 5.2 bails out on an inline declaration that isn't followed up with a definition in the same compilation unit. BRANCH=none BUG=chrome-os-partner:49517 TEST=compile tested with coreboot's toolchain. samus, oak and others that failed now build. Change-Id: Ic9c28fc12c80e24ea0dbf85f35846fd6a0b56a2d Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://chromium-review.googlesource.com/324970 Commit-Ready: Patrick Georgi <pgeorgi@chromium.org> Tested-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
b7cf464b86
commit
960cf45b3f
@@ -124,14 +124,14 @@ int chipset_get_ps_debounced_level(enum gpio_signal signal);
|
||||
*
|
||||
* @return Whether we should pause in S5 when shutting down.
|
||||
*/
|
||||
inline int power_get_pause_in_s5(void);
|
||||
int power_get_pause_in_s5(void);
|
||||
|
||||
/**
|
||||
* pause_in_s5 setter method.
|
||||
*
|
||||
* @param pause True if we should pause in S5 when shutting down.
|
||||
*/
|
||||
inline void power_set_pause_in_s5(int pause);
|
||||
void power_set_pause_in_s5(int pause);
|
||||
|
||||
#ifdef CONFIG_LOW_POWER_PSEUDO_G3
|
||||
void enter_pseudo_g3(void);
|
||||
|
||||
@@ -49,7 +49,7 @@ void interrupt_enable(void);
|
||||
/**
|
||||
* Return true if we are in interrupt context.
|
||||
*/
|
||||
inline int in_interrupt_context(void);
|
||||
int in_interrupt_context(void);
|
||||
|
||||
/**
|
||||
* Return current interrupt mask. Meaning is chip-specific and
|
||||
|
||||
Reference in New Issue
Block a user