Changes in uspace/lib/drv/generic/driver.c [8820544:facc34d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r8820544 rfacc34d 36 36 /** @file 37 37 */ 38 39 #define _DDF_DATA_IMPLANT 38 40 39 41 #include <assert.h> … … 594 596 } 595 597 598 /** Implant foreign driver-specific device data. 599 * 600 * XXX This is used to transition USB to new interface. Do not use 601 * in new code. Use of this function must be removed. 602 */ 603 void ddf_fun_data_implant(ddf_fun_t *fun, void *data) 604 { 605 assert(fun->driver_data == NULL); 606 fun->driver_data = data; 607 } 608 596 609 /** Return driver-specific device data. */ 597 610 void *ddf_dev_data_get(ddf_dev_t *dev) … … 906 919 907 920 /** Set function ops. */ 908 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) 909 922 { 910 923 assert(fun->conn_handler == NULL); … … 950 963 */ 951 964 driver = drv; 965 966 /* Initialize interrupt module */ 967 interrupt_init(); 952 968 953 969 /*
Note:
See TracChangeset
for help on using the changeset viewer.