Changes in uspace/srv/hid/char_mouse/chardev.c [228e490:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/char_mouse/chardev.c
r228e490 rffa2c8ef 34 34 */ 35 35 36 #include <ipc/ipc.h>37 36 #include <ipc/char.h> 38 37 #include <async.h> … … 70 69 71 70 /* NB: The callback connection is slotted for removal */ 72 sysarg_t phonehash; 73 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) { 71 if (async_connect_to_me(dev_phone, 0, 0, 0, chardev_events) != 0) { 74 72 printf(NAME ": Failed to create callback from device\n"); 75 73 return false; 76 74 } 77 78 async_new_connection(phonehash, 0, NULL, chardev_events);79 75 80 76 return 0; … … 114 110 retval = ENOENT; 115 111 } 116 ipc_answer_0(callid, retval);112 async_answer_0(callid, retval); 117 113 } 118 114 }
Note:
See TracChangeset
for help on using the changeset viewer.