Changeset facc34d in mainline
- Timestamp:
- 2014-01-17T21:45:14Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 19b3cc6
- Parents:
- 66be0288
- Location:
- uspace/lib/drv
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r66be0288 rfacc34d 919 919 920 920 /** Set function ops. */ 921 void ddf_fun_set_ops(ddf_fun_t *fun, ddf_dev_ops_t *dev_ops)921 void ddf_fun_set_ops(ddf_fun_t *fun, const ddf_dev_ops_t *dev_ops) 922 922 { 923 923 assert(fun->conn_handler == NULL); -
uspace/lib/drv/generic/private/driver.h
r66be0288 rfacc34d 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
r66be0288 rfacc34d 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.