Changeset 2ef8023 in mainline for uspace/drv/bus/usb/ehci/main.c


Ignore:
Timestamp:
2014-01-02T21:10:17Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fddffb2
Parents:
4942d63
Message:

ehci,ohci,uhci: Make driver structures const

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/main.c

    r4942d63 r2ef8023  
    8383static int ehci_dev_add(ddf_dev_t *device);
    8484
    85 static driver_ops_t ehci_driver_ops = {
     85static const driver_ops_t ehci_driver_ops = {
    8686        .dev_add = ehci_dev_add,
    8787};
    8888
    89 static driver_t ehci_driver = {
     89static const driver_t ehci_driver = {
    9090        .name = NAME,
    9191        .driver_ops = &ehci_driver_ops
Note: See TracChangeset for help on using the changeset viewer.