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