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:
Patrick Georgi
2016-02-01 18:46:35 +01:00
committed by chrome-bot
parent b7cf464b86
commit 960cf45b3f
2 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -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