Skip to content

Commit dacf6fb

Browse files
bliu11-intelnashif
authored andcommitted
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 <[email protected]>
1 parent 0e9c0ec commit dacf6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/hal/qmsi/soc/quark_se/drivers/power_states.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void power_soc_deep_sleep()
6767
* The variable __x86_restore_info is defined in the linker script as a new
6868
* and independent memory segment.
6969
*/
70-
extern uint32_t __x86_restore_info[];
70+
extern uint32_t *__x86_restore_info;
7171
/*
7272
* The stack pointer is saved in the global variable sp_restore_storage
7373
* by qm_x86_save_context() before sleep and it is restored by

0 commit comments

Comments
 (0)