Changes in uspace/drv/bus/usb/usbhid/multimedia/multimedia.c [c0699467:1dc4a5e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/multimedia/multimedia.c
rc0699467 r1dc4a5e 185 185 usb_multimedia_t *multim_dev) 186 186 { 187 /* Create the function exposed under /dev/devices. */187 /* Create the exposed function. */ 188 188 ddf_fun_t *fun = ddf_fun_create(hid_dev->usb_dev->ddf_dev, fun_exposed, 189 189 NAME); … … 205 205 } 206 206 207 usb_log_debug("%s function created ( jandle: %" PRIun ").\n",207 usb_log_debug("%s function created (handle: %" PRIun ").\n", 208 208 NAME, fun->handle); 209 209 210 rc = ddf_fun_add_to_c lass(fun, "keyboard");210 rc = ddf_fun_add_to_category(fun, "keyboard"); 211 211 if (rc != EOK) { 212 212 usb_log_error( 213 "Could not add DDF function to c lass'keyboard': %s.\n",213 "Could not add DDF function to category 'keyboard': %s.\n", 214 214 str_error(rc)); 215 215 // TODO: Can / should I destroy the DDF function?
Note:
See TracChangeset
for help on using the changeset viewer.