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