Commit 01f1ebbb authored by danh-arm's avatar danh-arm
Browse files

Merge pull request #362 from jcastillo-arm/jc/inline

Fix build error with optimizations disabled (-O0)
parents 432b9905 80bb6afd
......@@ -55,7 +55,7 @@ typedef struct arm_config {
/* If used, arm_config must be defined and populated in the platform port */
extern arm_config_t arm_config;
inline const arm_config_t *get_arm_config(void)
static inline const arm_config_t *get_arm_config(void)
{
return &arm_config;
}
......
......@@ -37,7 +37,7 @@
void soc_css_init_nic400(void);
void soc_css_init_pcie(void);
inline void soc_css_security_setup(void)
static inline void soc_css_security_setup(void)
{
soc_css_init_nic400();
soc_css_init_pcie();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment