bootmode: remove build warnings
[profile/mobile/platform/kernel/u-boot-tm1.git] / property / recv_mode.c
index 47457ae..18b66cd 100644 (file)
@@ -19,6 +19,8 @@
 #endif
 #define dprintf(fmt, args...) printf(fmt, ##args)
 
+extern void reboot_devices(unsigned reboot_mode);
+
 void nv_patch(char * addr, int size)
 {
        int i = 0;
@@ -142,6 +144,8 @@ int do_recovery(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        puts("Tizen Recovery mode\n");
 
        recovery_mode();
+
+       return 0;
 }
 
 U_BOOT_CMD(recovery, 1, 1, do_recovery,