Changes in uspace/srv/hid/kbd/port/chardev.c [ffa2c8ef:228e490] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/port/chardev.c
rffa2c8ef r228e490 35 35 */ 36 36 37 #include <ipc/ipc.h> 37 38 #include <ipc/char.h> 38 39 #include <async.h> … … 90 91 91 92 /* NB: The callback connection is slotted for removal */ 92 if (async_connect_to_me(dev_phone, 0, 0, 0, kbd_port_events) != 0) { 93 sysarg_t phonehash; 94 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) { 93 95 printf(NAME ": Failed to create callback from device\n"); 94 96 return -1; 95 97 } 98 99 async_new_connection(phonehash, 0, NULL, kbd_port_events); 96 100 97 101 return 0; … … 131 135 retval = ENOENT; 132 136 } 133 async_answer_0(callid, retval);137 ipc_answer_0(callid, retval); 134 138 } 135 139 }
Note:
See TracChangeset
for help on using the changeset viewer.