diff options
author | Denis Kenzior <denkenz@gmail.com> | 2016-11-11 10:55:00 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2016-11-11 10:55:00 -0600 |
commit | cd0b9b9ef7db08cba23989bcbf326edc72fccd17 (patch) | |
tree | 066ef46574ddb6f98daf6679c19ba0628ca889ea /include | |
parent | 0cfab7e4361e4a433cb1125ae9edc37469b5a560 (diff) | |
download | ofono-cd0b9b9ef7db08cba23989bcbf326edc72fccd17.tar.gz |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/lte.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/lte.h b/include/lte.h index 26558f63..f3ff4053 100644 --- a/include/lte.h +++ b/include/lte.h @@ -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); |