Changeset 19b3cc6 in mainline for uspace/lib/drv
- Timestamp:
- 2014-01-17T23:12:10Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e26a9d95
- Parents:
- fddffb2 (diff), facc34d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib/drv
- Files:
-
- 3 edited
-
generic/driver.c (modified) (1 diff)
-
generic/private/driver.h (modified) (1 diff)
-
include/ddf/driver.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
rfddffb2 r19b3cc6 920 920 921 921 /** Set function ops. */ 922 void ddf_fun_set_ops(ddf_fun_t *fun, ddf_dev_ops_t *dev_ops)922 void ddf_fun_set_ops(ddf_fun_t *fun, const ddf_dev_ops_t *dev_ops) 923 923 { 924 924 assert(fun->conn_handler == NULL); -
uspace/lib/drv/generic/private/driver.h
rfddffb2 r19b3cc6 93 93 94 94 /** Implementation of operations provided by this function */ 95 ddf_dev_ops_t *ops;95 const ddf_dev_ops_t *ops; 96 96 97 97 /** Connection handler or @c NULL to use the DDF default handler. */ -
uspace/lib/drv/include/ddf/driver.h
rfddffb2 r19b3cc6 137 137 extern int ddf_fun_offline(ddf_fun_t *); 138 138 extern int ddf_fun_add_match_id(ddf_fun_t *, const char *, int); 139 extern void ddf_fun_set_ops(ddf_fun_t *, ddf_dev_ops_t *);139 extern void ddf_fun_set_ops(ddf_fun_t *, const ddf_dev_ops_t *); 140 140 extern void ddf_fun_set_conn_handler(ddf_fun_t *, async_client_conn_t); 141 141 extern int ddf_fun_add_to_category(ddf_fun_t *, const char *);
Note:
See TracChangeset
for help on using the changeset viewer.
