tracing: usb: Fix build issues.

1. Remove usb_descriptor.h as tracing_backend_usb.c doesn't have access
   to that include file.
2. Make TRACING_BACKEND_USB depend on USB being enabled.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-02-07 06:40:27 -06:00 committed by Anas Nashif
commit d62dfe8d0e
2 changed files with 1 additions and 1 deletions

View file

@ -151,6 +151,7 @@ config TRACING_BACKEND_UART
config TRACING_BACKEND_USB
bool "Enable USB backend"
depends on USB
depends on TRACING_ASYNC
help
Use USB to output tracing data.