Changeset 15d0046 in mainline for uspace/lib/drv/generic/driver.c
- Timestamp:
- 2014-09-12T13:22:33Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b20126
- Parents:
- 8db09e4 (diff), 105d8d6 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r8db09e4 r15d0046 36 36 /** @file 37 37 */ 38 39 #define _DDF_DATA_IMPLANT40 38 41 39 #include <assert.h> … … 596 594 } 597 595 598 /** Implant foreign driver-specific device data.599 *600 * XXX This is used to transition USB to new interface. Do not use601 * 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 609 596 /** Return driver-specific device data. */ 610 597 void *ddf_dev_data_get(ddf_dev_t *dev) … … 963 950 */ 964 951 driver = drv; 965 966 /* Initialize interrupt module */967 interrupt_init();968 952 969 953 /*
Note:
See TracChangeset
for help on using the changeset viewer.