Changeset f9b2cb4c in mainline for uspace/srv/hid/input/ctl/kbdev.c
- Timestamp:
- 2015-08-23T12:50:23Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ef495f
- Parents:
- 0dd16778
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/ctl/kbdev.c
r0dd16778 rf9b2cb4c 94 94 static int kbdev_ctl_init(kbd_dev_t *kdev) 95 95 { 96 async_sess_t *sess = loc_service_connect( EXCHANGE_SERIALIZE,97 kdev->svc_id, 0);96 async_sess_t *sess = loc_service_connect(kdev->svc_id, 97 INTERFACE_DDF, 0); 98 98 if (sess == NULL) { 99 99 printf("%s: Failed starting session with '%s.'\n", NAME, … … 120 120 } 121 121 122 int rc = async_connect_to_me(exch, 0, 0, 0, kbdev_callback_conn, kbdev); 122 port_id_t port; 123 int rc = async_create_callback_port(exch, INTERFACE_KBD_CB, 0, 0, 124 kbdev_callback_conn, kbdev, &port); 125 123 126 if (rc != EOK) { 124 127 printf("%s: Failed creating callback connection from '%s'.\n",
Note:
See TracChangeset
for help on using the changeset viewer.