Changeset 19b3cc6 in mainline for uspace/lib/drv


Ignore:
Timestamp:
2014-01-17T23:12:10Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
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.
Message:

Merge libdrv-cleanup branch (includes mainline changes)

Location:
uspace/lib/drv
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    rfddffb2 r19b3cc6  
    920920
    921921/** Set function ops. */
    922 void ddf_fun_set_ops(ddf_fun_t *fun, ddf_dev_ops_t *dev_ops)
     922void ddf_fun_set_ops(ddf_fun_t *fun, const ddf_dev_ops_t *dev_ops)
    923923{
    924924        assert(fun->conn_handler == NULL);
  • uspace/lib/drv/generic/private/driver.h

    rfddffb2 r19b3cc6  
    9393       
    9494        /** Implementation of operations provided by this function */
    95         ddf_dev_ops_t *ops;
     95        const ddf_dev_ops_t *ops;
    9696       
    9797        /** Connection handler or @c NULL to use the DDF default handler. */
  • uspace/lib/drv/include/ddf/driver.h

    rfddffb2 r19b3cc6  
    137137extern int ddf_fun_offline(ddf_fun_t *);
    138138extern 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 *);
     139extern void ddf_fun_set_ops(ddf_fun_t *, const ddf_dev_ops_t *);
    140140extern void ddf_fun_set_conn_handler(ddf_fun_t *, async_client_conn_t);
    141141extern int ddf_fun_add_to_category(ddf_fun_t *, const char *);
Note: See TracChangeset for help on using the changeset viewer.