Changes in uspace/lib/drv/generic/driver.c [a861ccb3:0c322fa] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
ra861ccb3 r0c322fa 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)
Note:
See TracChangeset
for help on using the changeset viewer.