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

Changeset 991f645 in mainline for uspace/srv/hid/kbd/generic/kbd.c


Ignore:
Timestamp:
2010-11-18T17:39:28Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
0b5a4131
Parents:
51a268f
Message:

Rename dev_handle_t to devmap_handle_t and make it explicitly clear that
dev_handle_t is a handle understood by devmap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/kbd/generic/kbd.c

    r51a268f r991f645  
    250250        snprintf(kbd, DEVMAP_NAME_MAXLEN, "%s/%s", NAMESPACE, NAME);
    251251       
    252         dev_handle_t dev_handle;
    253         if (devmap_device_register(kbd, &dev_handle) != EOK) {
     252        devmap_handle_t devmap_handle;
     253        if (devmap_device_register(kbd, &devmap_handle) != EOK) {
    254254                printf("%s: Unable to register device %s\n", NAME, kbd);
    255255                return -1;
Note: See TracChangeset for help on using the changeset viewer.