Changeset 9934f7d in mainline for uspace/srv/hid/input/port/chardev.c
- Timestamp:
- 2011-06-13T19:53:48Z (14 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/chardev.c
r43ac0cc r9934f7d 45 45 #include <stdio.h> 46 46 47 static void kbd_port_events(ipc_callid_t iid, ipc_call_t *icall );47 static void kbd_port_events(ipc_callid_t iid, ipc_call_t *icall, void *arg); 48 48 49 49 static int chardev_port_init(kbd_dev_t *); … … 96 96 97 97 /* NB: The callback connection is slotted for removal */ 98 if (async_obsolete_connect_to_me(dev_phone, 0, 0, 0, kbd_port_events) != 0) { 98 if (async_obsolete_connect_to_me(dev_phone, 0, 0, 0, kbd_port_events, 99 NULL) != 0) { 99 100 printf(NAME ": Failed to create callback from device\n"); 100 101 return -1; … … 117 118 } 118 119 119 static void kbd_port_events(ipc_callid_t iid, ipc_call_t *icall )120 static void kbd_port_events(ipc_callid_t iid, ipc_call_t *icall, void *arg) 120 121 { 121 122 /* Ignore parameters, the connection is already opened */
Note:
See TracChangeset
for help on using the changeset viewer.