arm: rpi: fix build warning
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 17 Sep 2021 08:16:45 +0000 (10:16 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:37:12 +0000 (11:37 +0100)
Add 'usb.h' include previously included via 'usb/xhci.h' in the reverted
commit. This fixes following build warning:

board/raspberrypi/rpi/rpi.c:467:2: warning: implicit declaration of function ‘usb_init’; did you mean ‘lmb_init’? [-Wimplicit-function-declaration]

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ia8b5cb0d49cef0c3b3c43a70fa4bb240172af2e5

board/raspberrypi/rpi/rpi.c

index 82fde5f..a89ae06 100644 (file)
@@ -23,6 +23,7 @@
 #ifdef CONFIG_ARM64
 #include <asm/armv8/mmu.h>
 #endif
+#include <usb.h>
 #include <watchdog.h>
 #include <dm/pinctrl.h>