Changeset 0c322fa in mainline for uspace/lib/drv/generic/driver.c


Ignore:
Timestamp:
2013-12-31T04:01:20Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a44424f
Parents:
9359aae
Message:

libdrv: Use const pointer to driver structure.

File:
1 edited

Legend:

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

    r9359aae r0c322fa  
    6363
    6464/** Driver structure */
    65 static driver_t *driver;
     65static const driver_t *driver;
    6666
    6767/** Devices */
     
    956956}
    957957
    958 int ddf_driver_main(driver_t *drv)
     958int ddf_driver_main(const driver_t *drv)
    959959{
    960960        /*
Note: See TracChangeset for help on using the changeset viewer.