Skip to content

Commit

Permalink
drivers: usb: device: add missing init.h
Browse files Browse the repository at this point in the history
Some drivers were missing init.h, required for SYS_INIT.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
  • Loading branch information
gmarull authored and carlescufi committed Aug 31, 2023
1 parent 008f1c4 commit 99c1942
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/device/usb_dc_rpi_pico.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <hardware/resets.h>
#include <pico/platform.h>

#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/usb/usb_device.h>
#include <zephyr/sys/util.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/usb/device/usb_dc_smartbond.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/usb/usb_dc.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <zephyr/usb/usb_device.h>

Expand Down

0 comments on commit 99c1942

Please sign in to comment.