static int __init mdm_modem_probe(struct platform_device *pdev) { /* Instantiate driver object. */ mdm_cb.power_on_mdm_cb = power_on_mdm; mdm_cb.power_down_mdm_cb = power_down_mdm; mdm_cb.normal_boot_done_cb = normal_boot_done; mdm_cb.debug_state_changed_cb = debug_state_changed; return mdm_common_create(pdev, &mdm_cb); }
static int __init mdm_modem_probe(struct platform_device *pdev) { pr_err("%s\n", __func__); /* temprary wakelock, remove when L3 state implemented */ #ifdef CONFIG_ARCH_EXYNOS wake_lock_init(&mdm_wake, WAKE_LOCK_SUSPEND, "mdm_wake"); wake_lock(&mdm_wake); #endif return mdm_common_create(pdev, &mdm_cb); }
static int __init mdm_modem_probe(struct platform_device *pdev) { unsigned *br; unsigned sz; br = (unsigned *) smem_get_entry(SMEM_POWER_ON_STATUS_INFO, &sz); if (br != NULL && sz != 0) mdm_is_charge_only = *br & BOOT_REASON_CHG_USB || *br & BOOT_REASON_CHG_WALL; else pr_err("%s: Unable to read boot reason.\n", __func__); return mdm_common_create(pdev, &mdm_cb); }
static int __init mdm_modem_probe(struct platform_device *pdev) { return mdm_common_create(pdev, &mdm_cb); }
static int __init mdm_modem_probe(struct platform_device *pdev) { pr_info("%s\n", __func__); return mdm_common_create(pdev, &mdm_cb); }