mirror of git://git.sysmocom.de/ofono
include: Fix return signature in lte methods
Only the probe method returns a value. All other methods use a void return signature and report errors via the callback.
This commit is contained in:
parent
0cfab7e436
commit
cd0b9b9ef7
|
@ -40,10 +40,9 @@ struct ofono_lte_driver {
|
|||
const char *name;
|
||||
int (*probe)(struct ofono_lte *lte, void *data);
|
||||
void (*remove)(struct ofono_lte *lte);
|
||||
int (*set_default_attach_info)(const struct ofono_lte *lte,
|
||||
void (*set_default_attach_info)(const struct ofono_lte *lte,
|
||||
const struct ofono_lte_default_attach_info *info,
|
||||
ofono_lte_cb_t cb, void *data);
|
||||
|
||||
};
|
||||
|
||||
int ofono_lte_driver_register(const struct ofono_lte_driver *d);
|
||||
|
|
Loading…
Reference in New Issue