drivers: usb: device: s/device.h/init.h

Some drivers were not using any device.h API, but init.h (SYS_INIT).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2023-08-30 10:08:57 +02:00 committed by Carles Cufí
commit 008f1c44e2
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
#include <zephyr/drivers/usb/usb_dc.h> #include <zephyr/drivers/usb/usb_dc.h>
#include <zephyr/usb/usb_device.h> #include <zephyr/usb/usb_device.h>
#include <soc.h> #include <soc.h>
#include <zephyr/device.h> #include <zephyr/init.h>
#include <zephyr/kernel.h> #include <zephyr/kernel.h>
#include <zephyr/drivers/pinctrl.h> #include <zephyr/drivers/pinctrl.h>
#include "usb.h" #include "usb.h"

View file

@ -6,7 +6,7 @@
#include <stdio.h> #include <stdio.h>
#include <zephyr/kernel.h> #include <zephyr/kernel.h>
#include <zephyr/device.h> #include <zephyr/init.h>
#include <zephyr/sys/dlist.h> #include <zephyr/sys/dlist.h>
#include <zephyr/sys/iterable_sections.h> #include <zephyr/sys/iterable_sections.h>