diff options
Diffstat (limited to 'include/devinfo.h')
-rw-r--r-- | include/devinfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/devinfo.h b/include/devinfo.h index 465aa05a..5bb7ccc3 100644 --- a/include/devinfo.h +++ b/include/devinfo.h @@ -35,7 +35,7 @@ typedef void (*ofono_devinfo_query_cb_t)(const struct ofono_error *error, struct ofono_devinfo_driver { const char *name; - int (*probe)(struct ofono_devinfo *info); + int (*probe)(struct ofono_devinfo *info, int vendor, void *data); int (*remove)(struct ofono_devinfo *info); void (*query_manufacturer)(struct ofono_devinfo *info, ofono_devinfo_query_cb_t cb, void *data); @@ -51,6 +51,7 @@ int ofono_devinfo_driver_register(const struct ofono_devinfo_driver *d); void ofono_devinfo_driver_unregister(const struct ofono_devinfo_driver *d); struct ofono_devinfo *ofono_devinfo_create(struct ofono_modem *modem, + int vendor, const char *driver, void *data); void ofono_devinfo_register(struct ofono_devinfo *info); |