static int phonesim_init(void) { int err; err = ofono_modem_driver_register(&phonesim_driver); if (err < 0) return err; ofono_modem_driver_register(&localhfp_driver); ofono_gprs_context_driver_register(&context_driver); ofono_ctm_driver_register(&ctm_driver); parse_config(); err = setup_control_channel(); if (err < 0) return err; return 0; }
void at_gprs_context_init() { ofono_gprs_context_driver_register(&driver); }
void ril_gprs_context_init(void) { ofono_gprs_context_driver_register(&driver); }