Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7eb6c96 in mainline


Ignore:
Timestamp:
2014-07-26T23:02:14Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
1f1fa64, 3d35386
Parents:
ad22fa4
Message:

E1k should not access fun_data since it does not set it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/e1k/e1k.c

    rad22fa4 r7eb6c96  
    7171/** ddf_fun_t * -> nic_driver_data_t* cast */
    7272#define NIC_DATA_FUN(fun) \
    73         ((nic_t *) ddf_fun_data_get(fun))
     73        ((nic_t *) ddf_dev_data_get(ddf_fun_get_dev(fun)))
    7474
    7575/** ddf_dev_t * -> nic_driver_data_t* cast */
Note: See TracChangeset for help on using the changeset viewer.