Ignore:
File:
1 edited

Legend:

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

    ra861ccb3 r0c322fa  
    3636/** @file
    3737 */
     38
     39#define _DDF_DATA_IMPLANT
    3840
    3941#include <assert.h>
     
    594596}
    595597
     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 */
     603void ddf_fun_data_implant(ddf_fun_t *fun, void *data)
     604{
     605        assert(fun->driver_data == NULL);
     606        fun->driver_data = data;
     607}
     608
    596609/** Return driver-specific device data. */
    597610void *ddf_dev_data_get(ddf_dev_t *dev)
Note: See TracChangeset for help on using the changeset viewer.