ARM: sc8830: fdl: remove build warnings
[profile/mobile/platform/kernel/u-boot-tm1.git] / nand_fdl / common / src / usb_boot.c
index 13b9cbd..b8e029d 100644 (file)
@@ -59,6 +59,7 @@ extern   "C"
 LOCAL __align(32) uint8 s_usb_snd_buff[USB_BUFF_SIZE];
 /*--------------------------- Global Data -----------------------------------*/
 /*--------------------------- External Data ---------------------------------*/
+extern void usb_core_init (void);
 /*----------------------------------------------------------------------------*
 **                         Local Function Prototype                           *
 **---------------------------------------------------------------------------*/
@@ -150,13 +151,13 @@ void usb_write (unsigned char *write_buf,unsigned int write_len)
 }
 extern char VCOM_GetChar (void);
 extern int VCOM_GetSingleChar (void);
-extern int VCOM_Read(const unsigned char *buf, unsigned int len);
+extern int VCOM_Read(unsigned char *buf, unsigned int len);
 
 static int FDL_UsbOpen (struct FDL_ChannelHandler  *channel, unsigned int baudrate)
 {
     return 0;
 }
-static int FDL_UsbRead (struct FDL_ChannelHandler  *channel, const unsigned char *buf, unsigned int len)
+static int FDL_UsbRead (struct FDL_ChannelHandler  *channel, unsigned char *buf, unsigned int len)
 {
     return VCOM_Read(buf, len);
 }