Changeset 2fd26bb in mainline for uspace/drv/block/ahci/ahci.c


Ignore:
Timestamp:
2017-10-08T20:17:59Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d15797d
Parents:
82cbf8c6
Message:

Make it simpler to get parent function session repeatedly without having to cache it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/block/ahci/ahci.c

    r82cbf8c6 r2fd26bb  
    11401140       
    11411141        /* Connect to parent device */
    1142         ahci->parent_sess = ddf_dev_parent_sess_create(dev);
     1142        ahci->parent_sess = ddf_dev_parent_sess_get(dev);
    11431143        if (ahci->parent_sess == NULL)
    11441144                return NULL;
Note: See TracChangeset for help on using the changeset viewer.