bootmode: remove build warnings
[profile/mobile/platform/kernel/u-boot-tm1.git] / property / calibration_mode.c
index b211856..d96d1d6 100644 (file)
@@ -57,7 +57,7 @@ extern int gpio_get_value(int PinNo);
 extern int gs_open(void);
 extern int spi_channel_init(unsigned long phy_id);
 extern int usb_is_trans_done(int direct);
-extern int gs_read(const unsigned char *buf, int *count);
+extern int gs_read(unsigned char *buf, int *count);
 extern int gs_write(const unsigned char *buf, int count);
 extern void usb_wait_trans_done(int direct);
 extern void gs_reset_usb_param(void);
@@ -341,7 +341,7 @@ void calibration_mode(const uint8_t *pcmd, int length)
         //add by kenyliu in 2013 06 20 for bug 146310
         if(0xE == get_adc_flag())
         {
-            power_down_devices();
+            power_down_devices(0);
         }
         //end kenyliu
     }