Changeset 9934f7d in mainline for uspace/srv/hid/input/port/adb.c
- Timestamp:
- 2011-06-13T19:53:48Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a07a454
- Parents:
- 43ac0cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/port/adb.c
r43ac0cc r9934f7d 46 46 #include <devmap_obsolete.h> 47 47 48 static void kbd_port_events(ipc_callid_t iid, ipc_call_t *icall );48 static void kbd_port_events(ipc_callid_t iid, ipc_call_t *icall, void *arg); 49 49 static void adb_kbd_reg0_data(uint16_t data); 50 50 … … 82 82 83 83 /* NB: The callback connection is slotted for removal */ 84 rc = async_obsolete_connect_to_me(dev_phone, 0, 0, 0, kbd_port_events); 84 rc = async_obsolete_connect_to_me(dev_phone, 0, 0, 0, kbd_port_events, 85 NULL); 85 86 if (rc != EOK) { 86 87 printf(NAME ": Failed to create callback from device\n"); … … 104 105 } 105 106 106 static void kbd_port_events(ipc_callid_t iid, ipc_call_t *icall )107 static void kbd_port_events(ipc_callid_t iid, ipc_call_t *icall, void *arg) 107 108 { 108 109 /* Ignore parameters, the connection is already opened */
Note:
See TracChangeset
for help on using the changeset viewer.