summaryrefslogtreecommitdiffstats
path: root/include/devinfo.h
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-09-01 17:18:42 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-09-01 18:14:58 -0500
commitc7d35dd039b60670e4175b49f377275c6569953f (patch)
treed4394c376be96c9b8285a5221f6552d111d9e44d /include/devinfo.h
parent933f803967c4b2062a6e2dfd075f400ffe29defd (diff)
downloadofono-c7d35dd039b60670e4175b49f377275c6569953f.tar.bz2
Add vendor flag capability to devinfo
Diffstat (limited to 'include/devinfo.h')
-rw-r--r--include/devinfo.h3
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);