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

Changeset d6f73b92 in mainline


Ignore:
Timestamp:
2018-05-22T19:06:50Z (3 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
c72cd20
Parents:
d6c0016
git-author:
Jakub Jermar <jakub@…> (2018-04-22 12:41:07)
git-committer:
Jakub Jermar <jakub@…> (2018-05-22 19:06:50)
Message:

Use _initialize instead of _init

Location:
uspace
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/virtio-net/virtio-net.c

    rd6c0016 rd6f73b92  
    4848        // XXX: this will be part of the nic data
    4949        virtio_dev_t virtio_dev;
    50         errno_t rc = virtio_pci_dev_init(dev, &virtio_dev);
     50        errno_t rc = virtio_pci_dev_initialize(dev, &virtio_dev);
    5151        if (rc != EOK)
    5252                return rc;
  • uspace/lib/virtio/virtio-pci.c

    rd6c0016 rd6f73b92  
    164164}
    165165
    166 errno_t virtio_pci_dev_init(ddf_dev_t *dev, virtio_dev_t *vdev)
     166errno_t virtio_pci_dev_initialize(ddf_dev_t *dev, virtio_dev_t *vdev)
    167167{
    168168        memset(vdev, 0, sizeof(virtio_dev_t));
  • uspace/lib/virtio/virtio-pci.h

    rd6c0016 rd6f73b92  
    9191} virtio_dev_t;
    9292
    93 errno_t virtio_pci_dev_init(ddf_dev_t *, virtio_dev_t *);
     93extern errno_t virtio_pci_dev_initialize(ddf_dev_t *, virtio_dev_t *);
    9494
    9595#endif
Note: See TracChangeset for help on using the changeset viewer.