Changes in uspace/srv/hid/char_mouse/chardev.c [ffa2c8ef:228e490] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/char_mouse/chardev.c
rffa2c8ef r228e490 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 phonehash; 73 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) { 72 74 printf(NAME ": Failed to create callback from device\n"); 73 75 return false; 74 76 } 77 78 async_new_connection(phonehash, 0, NULL, chardev_events); 75 79 76 80 return 0; … … 110 114 retval = ENOENT; 111 115 } 112 async_answer_0(callid, retval);116 ipc_answer_0(callid, retval); 113 117 } 114 118 }
Note:
See TracChangeset
for help on using the changeset viewer.