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


Ignore:
Timestamp:
2012-01-14T23:31:26Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3ea725e, 8989f2a7, a1347a7
Parents:
6d8455d
Message:

make sure the client_connection is explicitly set at most once
it is not a mutable variable, it is a weak symbol

File:
1 edited

Legend:

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

    r6d8455d rf302586  
    10161016         * incoming connections.
    10171017         */
    1018         rc = devman_driver_register(driver->name, driver_connection);
     1018        async_set_client_connection(driver_connection);
     1019        rc = devman_driver_register(driver->name);
    10191020        if (rc != EOK) {
    10201021                printf("Error: Failed to register driver with device manager "
Note: See TracChangeset for help on using the changeset viewer.