diff options
author | Baohong Liu <baohong.liu@intel.com> | 2016-11-16 14:37:33 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2017-02-09 05:12:41 +0530 |
commit | dacf6fb54b06017423b4ff49eab87114e056da60 (patch) | |
tree | bf256214c49a4b8a688459d6d69b07358a418b42 | |
parent | 0e9c0ecf40d057cdc06e7d8630d3422025717187 (diff) |
ext: qmsi: fix an incomplete type issue
Incomplete type is not acceptable to LLVM. Let's use
pointer instead.
Jira: ZEP-1179
Change-Id: Ie6324b2e5076ae2b378fa270d0d9fdcbf29bf8ce
Signed-off-by: Baohong Liu <baohong.liu@intel.com>
-rw-r--r-- | ext/hal/qmsi/soc/quark_se/drivers/power_states.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hal/qmsi/soc/quark_se/drivers/power_states.c b/ext/hal/qmsi/soc/quark_se/drivers/power_states.c index e561f204e..d42356c4d 100644 --- a/ext/hal/qmsi/soc/quark_se/drivers/power_states.c +++ b/ext/hal/qmsi/soc/quark_se/drivers/power_states.c @@ -67,7 +67,7 @@ void power_soc_deep_sleep() * The variable __x86_restore_info is defined in the linker script as a new * and independent memory segment. */ -extern uint32_t __x86_restore_info[]; +extern uint32_t *__x86_restore_info; /* * The stack pointer is saved in the global variable sp_restore_storage * by qm_x86_save_context() before sleep and it is restored by |