Changeset 41ebc36 in mainline for uspace/drv
- Timestamp:
- 2017-12-18T12:32:07Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7faf0f0
- Parents:
- fc338e0
- Location:
- uspace/drv/bus/usb/usbdiag
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbdiag/Makefile
rfc338e0 r41ebc36 29 29 USPACE_PREFIX = ../../../.. 30 30 31 LIBS = usbd iag usbdev usb drv31 LIBS = usbdev usb drv 32 32 33 33 BINARY = usbdiag -
uspace/drv/bus/usb/usbdiag/device.c
rfc338e0 r41ebc36 36 36 #include <errno.h> 37 37 #include <usb/debug.h> 38 #include <usb /diag/iface.h>38 #include <usbdiag_iface.h> 39 39 40 40 #include "device.h" … … 48 48 } 49 49 50 static usb _diag_iface_t diag_interface = {50 static usbdiag_iface_t diag_interface = { 51 51 .test = some_test, 52 52 }; -
uspace/drv/bus/usb/usbdiag/main.c
rfc338e0 r41ebc36 37 37 #include <usb/debug.h> 38 38 #include <usb/dev/driver.h> 39 #include <usb /diag/diag.h>39 #include <usbdiag_iface.h> 40 40 #include <str_error.h> 41 41 … … 61 61 } 62 62 63 if ((rc = ddf_fun_add_to_category(diag_dev->fun, USB _DIAG_CATEGORY))) {63 if ((rc = ddf_fun_add_to_category(diag_dev->fun, USBDIAG_CATEGORY))) { 64 64 usb_log_error("Failed add DDF to category '" 65 USB _DIAG_CATEGORY "': %s.\n", str_error(rc));65 USBDIAG_CATEGORY "': %s.\n", str_error(rc)); 66 66 goto err_bind; 67 67 }
Note:
See TracChangeset
for help on using the changeset viewer.
