static int msm_otg_sec_power(bool on) { #ifdef CONFIG_MFD_MAX77693 muic_otg_control(on); #endif return 0; }
static int msm_otg_sec_power(bool on) { pr_info("msm_otg_sec_power: %d\n", on); #ifdef CONFIG_MFD_MAX77693 muic_otg_control(on); #else sec_battery_otg_control(on); #endif return 0; }
int msm_otg_sec_power(bool on) { int ret = 0; pr_info("msm_otg_sec_power: %d\n", on); #if defined(CONFIG_MFD_MAX77693) || defined(CONFIG_EXTCON_MAX77804K) muic_otg_control(on); #else ret = sec_battery_otg_control(on); #endif return ret; }