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

@ -10,7 +10,6 @@
#include <sys/byteorder.h>
#include <usb/usb_device.h>
#include <usb/usb_common.h>
#include <usb_descriptor.h>
#include <tracing_core.h>
#include <tracing_buffer.h>
#include <tracing_backend.h>