From 71a927955e94dfbf9f568fa31bf41002c885cd19 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 12 Sep 2017 16:32:23 -0400 Subject: [PATCH] usb: move headers to include/usb/class Signed-off-by: Anas Nashif --- {subsys => include}/usb/class/cdc_acm.h | 0 {subsys => include}/usb/class/mass_storage.h | 0 samples/subsys/usb/webusb/src/webusb_serial.c | 2 +- subsys/usb/class/cdc_acm.c | 6 +++--- subsys/usb/class/mass_storage.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename {subsys => include}/usb/class/cdc_acm.h (100%) rename {subsys => include}/usb/class/mass_storage.h (100%) diff --git a/subsys/usb/class/cdc_acm.h b/include/usb/class/cdc_acm.h similarity index 100% rename from subsys/usb/class/cdc_acm.h rename to include/usb/class/cdc_acm.h diff --git a/subsys/usb/class/mass_storage.h b/include/usb/class/mass_storage.h similarity index 100% rename from subsys/usb/class/mass_storage.h rename to include/usb/class/mass_storage.h diff --git a/samples/subsys/usb/webusb/src/webusb_serial.c b/samples/subsys/usb/webusb/src/webusb_serial.c index 69fd6a5406..d8a95b8d3b 100644 --- a/samples/subsys/usb/webusb/src/webusb_serial.c +++ b/samples/subsys/usb/webusb/src/webusb_serial.c @@ -44,7 +44,7 @@ #include #include #include -#include "cdc_acm.h" +#include #include #include #include "webusb_serial.h" diff --git a/subsys/usb/class/cdc_acm.c b/subsys/usb/class/cdc_acm.c index a900fa89b6..1d2f9116bd 100644 --- a/subsys/usb/class/cdc_acm.c +++ b/subsys/usb/class/cdc_acm.c @@ -42,9 +42,9 @@ #include #include #include -#include "cdc_acm.h" -#include "usb_device.h" -#include "usb_common.h" +#include +#include +#include #ifndef CONFIG_UART_INTERRUPT_DRIVEN #error "CONFIG_UART_INTERRUPT_DRIVEN must be set for CDC ACM driver" diff --git a/subsys/usb/class/mass_storage.c b/subsys/usb/class/mass_storage.c index b0d3a3273e..2ede67f5c0 100644 --- a/subsys/usb/class/mass_storage.c +++ b/subsys/usb/class/mass_storage.c @@ -38,7 +38,7 @@ #include #include #include -#include "mass_storage.h" +#include #include #include