From 93063dc877fb11d6b2fc3c190843028800342985 Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Tue, 8 Dec 2009 10:26:23 +0900 Subject: [PATCH] s5pc110: sleep: kill warnings Signed-off-by: Minkyu Kang --- cpu/arm_cortexa8/s5pc1xx/sleep.c | 9 ++++----- cpu/arm_cortexa8/s5pc1xx/sleep.h | 4 ++++ include/stdio_dev.h | 1 + 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/cpu/arm_cortexa8/s5pc1xx/sleep.c b/cpu/arm_cortexa8/s5pc1xx/sleep.c index b8e89a4..de9b14d 100644 --- a/cpu/arm_cortexa8/s5pc1xx/sleep.c +++ b/cpu/arm_cortexa8/s5pc1xx/sleep.c @@ -12,18 +12,17 @@ #include #include #include - +#include +#include +#include #include - #include #include #include +#include "sleep.h" #define CONFIG_CPU_S5PC110_EVT0_ERRATA -#include -#include "sleep.h" - extern int s5pc110_cpu_save(unsigned long *saveblk); extern void s5pc110_cpu_resume(void); extern unsigned int s5pc110_sleep_return_addr; diff --git a/cpu/arm_cortexa8/s5pc1xx/sleep.h b/cpu/arm_cortexa8/s5pc1xx/sleep.h index 750c040..d8c0462 100644 --- a/cpu/arm_cortexa8/s5pc1xx/sleep.h +++ b/cpu/arm_cortexa8/s5pc1xx/sleep.h @@ -55,4 +55,8 @@ #define PSR_Z_BIT 0x40000000 #define PSR_N_BIT 0x80000000 +#ifndef __ASSEMBLY__ +extern void board_sleep_resume(void); +#endif + #endif diff --git a/include/stdio_dev.h b/include/stdio_dev.h index 83da4cd..3e0ef69 100644 --- a/include/stdio_dev.h +++ b/include/stdio_dev.h @@ -90,6 +90,7 @@ extern char *stdio_names[MAX_FILES]; * PROTOTYPES */ int stdio_register (struct stdio_dev * dev); +int stdio_init_resume(void); int stdio_init (void); void stdio_print_current_devices(void); #ifdef CONFIG_SYS_STDIO_DEREGISTER -- 2.7.4