Skip to content

Commit 3c0269f

Browse files
andyrosskartben
authored andcommitted
soc/mtk_adsp: Add missing z_prep_c() prototype
The early boot function got renamed to a pseudo-standard "z_prep_c", but this isn't an actual API and doesn't have a prototype in the headers anywhere, so the compiler started whining about an undeclared function. Signed-off-by: Andy Ross <[email protected]>
1 parent 4b3874b commit 3c0269f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

soc/mediatek/mt8xxx/soc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,6 @@ void c_boot(void)
179179
/* Default console, a driver can override this later */
180180
__stdout_hook_install(arch_printk_char_out);
181181

182+
void z_prep_c(void);
182183
z_prep_c();
183184
}

0 commit comments

Comments
 (0)