Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/char_mouse/chardev.c

    rffa2c8ef r228e490  
    3434 */
    3535
     36#include <ipc/ipc.h>
    3637#include <ipc/char.h>
    3738#include <async.h>
     
    6970
    7071        /* NB: The callback connection is slotted for removal */
    71         if (async_connect_to_me(dev_phone, 0, 0, 0, chardev_events) != 0) {
     72        sysarg_t phonehash;
     73        if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) {
    7274                printf(NAME ": Failed to create callback from device\n");
    7375                return false;
    7476        }
     77
     78        async_new_connection(phonehash, 0, NULL, chardev_events);
    7579
    7680        return 0;
     
    110114                        retval = ENOENT;
    111115                }
    112                 async_answer_0(callid, retval);
     116                ipc_answer_0(callid, retval);
    113117        }
    114118}
Note: See TracChangeset for help on using the changeset viewer.