diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/call-barring.h | 2 | ||||
-rw-r--r-- | include/call-forwarding.h | 2 | ||||
-rw-r--r-- | include/call-meter.h | 2 | ||||
-rw-r--r-- | include/call-settings.h | 2 | ||||
-rw-r--r-- | include/devinfo.h | 2 | ||||
-rw-r--r-- | include/modem.h | 2 | ||||
-rw-r--r-- | include/netreg.h | 2 | ||||
-rw-r--r-- | include/phonebook.h | 2 | ||||
-rw-r--r-- | include/sim.h | 2 | ||||
-rw-r--r-- | include/sms.h | 2 | ||||
-rw-r--r-- | include/ssn.h | 2 | ||||
-rw-r--r-- | include/ussd.h | 2 | ||||
-rw-r--r-- | include/voicecall.h | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/include/call-barring.h b/include/call-barring.h index e767d02c..31551c6c 100644 --- a/include/call-barring.h +++ b/include/call-barring.h @@ -39,7 +39,7 @@ struct ofono_call_barring_driver { const char *name; int (*probe)(struct ofono_call_barring *cb, unsigned int vendor, void *data); - int (*remove)(struct ofono_call_barring *cb); + void (*remove)(struct ofono_call_barring *cb); void (*set)(struct ofono_call_barring *barr, const char *lock, int enable, const char *passwd, int cls, ofono_call_barring_set_cb_t cb, void *data); diff --git a/include/call-forwarding.h b/include/call-forwarding.h index 05aa39d4..2a8a5fd9 100644 --- a/include/call-forwarding.h +++ b/include/call-forwarding.h @@ -49,7 +49,7 @@ struct ofono_call_forwarding_driver { const char *name; int (*probe)(struct ofono_call_forwarding *cf, unsigned int vendor, void *data); - int (*remove)(struct ofono_call_forwarding *cf); + void (*remove)(struct ofono_call_forwarding *cf); void (*activation)(struct ofono_call_forwarding *cf, int type, int cls, ofono_call_forwarding_set_cb_t cb, void *data); diff --git a/include/call-meter.h b/include/call-meter.h index a553c39b..c2aaddf5 100644 --- a/include/call-meter.h +++ b/include/call-meter.h @@ -44,7 +44,7 @@ struct ofono_call_meter_driver { const char *name; int (*probe)(struct ofono_call_meter *cm, unsigned int vendor, void *data); - int (*remove)(struct ofono_call_meter *cm); + void (*remove)(struct ofono_call_meter *cm); void (*call_meter_query)(struct ofono_call_meter *cm, ofono_call_meter_query_cb_t cb, void *data); void (*acm_query)(struct ofono_call_meter *cm, diff --git a/include/call-settings.h b/include/call-settings.h index 01e6d864..1fd3feb1 100644 --- a/include/call-settings.h +++ b/include/call-settings.h @@ -43,7 +43,7 @@ struct ofono_call_settings_driver { const char *name; int (*probe)(struct ofono_call_settings *cs, unsigned int vendor, void *data); - int (*remove)(struct ofono_call_settings *cs); + void (*remove)(struct ofono_call_settings *cs); void (*clip_query)(struct ofono_call_settings *cs, ofono_call_settings_status_cb_t cb, void *data); void (*colp_query)(struct ofono_call_settings *cs, diff --git a/include/devinfo.h b/include/devinfo.h index 7aa0f111..29f0c65f 100644 --- a/include/devinfo.h +++ b/include/devinfo.h @@ -37,7 +37,7 @@ struct ofono_devinfo_driver { const char *name; int (*probe)(struct ofono_devinfo *info, unsigned int vendor, void *data); - int (*remove)(struct ofono_devinfo *info); + void (*remove)(struct ofono_devinfo *info); void (*query_manufacturer)(struct ofono_devinfo *info, ofono_devinfo_query_cb_t cb, void *data); void (*query_serial)(struct ofono_devinfo *info, diff --git a/include/modem.h b/include/modem.h index f4843307..7f459956 100644 --- a/include/modem.h +++ b/include/modem.h @@ -56,7 +56,7 @@ struct ofono_modem_driver { int (*probe)(struct ofono_modem *modem); /* Destroy data structures allocated during probe and cleanup */ - int (*remove)(struct ofono_modem *modem); + void (*remove)(struct ofono_modem *modem); /* Power up device */ int (*enable)(struct ofono_modem *modem); diff --git a/include/netreg.h b/include/netreg.h index dbd63bc7..9e992001 100644 --- a/include/netreg.h +++ b/include/netreg.h @@ -72,7 +72,7 @@ struct ofono_netreg_driver { const char *name; int (*probe)(struct ofono_netreg *netreg, unsigned int vendor, void *data); - int (*remove)(struct ofono_netreg *netreg); + void (*remove)(struct ofono_netreg *netreg); void (*registration_status)(struct ofono_netreg *netreg, ofono_netreg_status_cb_t cb, void *data); void (*current_operator)(struct ofono_netreg *netreg, diff --git a/include/phonebook.h b/include/phonebook.h index 73f2bb9a..72134e0b 100644 --- a/include/phonebook.h +++ b/include/phonebook.h @@ -40,7 +40,7 @@ struct ofono_phonebook_driver { const char *name; int (*probe)(struct ofono_phonebook *pb, unsigned int vendor, void *data); - int (*remove)(struct ofono_phonebook *pb); + void (*remove)(struct ofono_phonebook *pb); void (*export_entries)(struct ofono_phonebook *pb, const char *storage, ofono_phonebook_cb_t cb, void *data); }; diff --git a/include/sim.h b/include/sim.h index 9ab60845..1da486c7 100644 --- a/include/sim.h +++ b/include/sim.h @@ -67,7 +67,7 @@ typedef void (*ofono_sim_file_write_cb_t)(int ok, void *userdata); struct ofono_sim_driver { const char *name; int (*probe)(struct ofono_sim *sim, unsigned int vendor, void *data); - int (*remove)(struct ofono_sim *sim); + void (*remove)(struct ofono_sim *sim); void (*read_file_info)(struct ofono_sim *sim, int fileid, ofono_sim_file_info_cb_t cb, void *data); void (*read_file_transparent)(struct ofono_sim *sim, int fileid, diff --git a/include/sms.h b/include/sms.h index 35025f15..01ce667f 100644 --- a/include/sms.h +++ b/include/sms.h @@ -41,7 +41,7 @@ typedef void (*ofono_sms_sca_set_cb_t)(const struct ofono_error *error, struct ofono_sms_driver { const char *name; int (*probe)(struct ofono_sms *sms, unsigned int vendor, void *data); - int (*remove)(struct ofono_sms *sms); + void (*remove)(struct ofono_sms *sms); void (*sca_query)(struct ofono_sms *sms, ofono_sms_sca_query_cb_t cb, void *data); void (*sca_set)(struct ofono_sms *sms, diff --git a/include/ssn.h b/include/ssn.h index c5e428c5..dc7f320d 100644 --- a/include/ssn.h +++ b/include/ssn.h @@ -33,7 +33,7 @@ struct ofono_ssn; struct ofono_ssn_driver { const char *name; int (*probe)(struct ofono_ssn *ssn, unsigned int vendor, void *data); - int (*remove)(struct ofono_ssn *ssn); + void (*remove)(struct ofono_ssn *ssn); }; /* SSN notifications (CSSI and CSSU). */ diff --git a/include/ussd.h b/include/ussd.h index 6f5acdad..e39e3c76 100644 --- a/include/ussd.h +++ b/include/ussd.h @@ -35,7 +35,7 @@ typedef void (*ofono_ussd_cb_t)(const struct ofono_error *error, void *data); struct ofono_ussd_driver { const char *name; int (*probe)(struct ofono_ussd *ussd, unsigned int vendor, void *data); - int (*remove)(struct ofono_ussd *ussd); + void (*remove)(struct ofono_ussd *ussd); void (*request)(struct ofono_ussd *ussd, const char *str, ofono_ussd_cb_t, void *data); void (*cancel)(struct ofono_ussd *ussd, diff --git a/include/voicecall.h b/include/voicecall.h index b19a0fd5..ac893135 100644 --- a/include/voicecall.h +++ b/include/voicecall.h @@ -48,7 +48,7 @@ struct ofono_voicecall_driver { const char *name; int (*probe)(struct ofono_voicecall *vc, unsigned int vendor, void *data); - int (*remove)(struct ofono_voicecall *vc); + void (*remove)(struct ofono_voicecall *vc); void (*dial)(struct ofono_voicecall *vc, const struct ofono_phone_number *number, enum ofono_clir_option clir, enum ofono_cug_option cug, |