s5pc110: sleep: kill warnings
authorMinkyu Kang <mk7.kang@samsung.com>
Tue, 8 Dec 2009 01:26:23 +0000 (10:26 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Tue, 8 Dec 2009 01:26:23 +0000 (10:26 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
cpu/arm_cortexa8/s5pc1xx/sleep.c
cpu/arm_cortexa8/s5pc1xx/sleep.h
include/stdio_dev.h

index b8e89a4..de9b14d 100644 (file)
 #include <common.h>
 #include <command.h>
 #include <i2c.h>
-
+#include <serial.h>
+#include <stdio_dev.h>
+#include <onenand_uboot.h>
 #include <asm/io.h>
-
 #include <asm/arch/cpu.h>
 #include <asm/arch/power.h>
 #include <asm/arch/sys_proto.h>
+#include "sleep.h"
 
 #define CONFIG_CPU_S5PC110_EVT0_ERRATA
 
-#include <common.h>
-#include "sleep.h"
-
 extern int s5pc110_cpu_save(unsigned long *saveblk);
 extern void s5pc110_cpu_resume(void);
 extern unsigned int s5pc110_sleep_return_addr;
index 750c040..d8c0462 100644 (file)
@@ -55,4 +55,8 @@
 #define PSR_Z_BIT       0x40000000
 #define PSR_N_BIT       0x80000000
 
+#ifndef __ASSEMBLY__
+extern void board_sleep_resume(void);
+#endif
+
 #endif
index 83da4cd..3e0ef69 100644 (file)
@@ -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