summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2021-09-17 10:16:45 +0200
committerMarek Szyprowski <m.szyprowski@samsung.com>2021-09-17 10:18:01 +0200
commit51dd1e4c97ccc9502c445776d5d05b17eab02c3b (patch)
treee820f76f1b2eb8f8cb2e6ae7b4cbd7b1732eaca3
parent94b9b0127e096f3562dc39aa5b695c81f37e8c9c (diff)
downloadu-boot-51dd1e4c97ccc9502c445776d5d05b17eab02c3b.tar.gz
u-boot-51dd1e4c97ccc9502c445776d5d05b17eab02c3b.tar.bz2
u-boot-51dd1e4c97ccc9502c445776d5d05b17eab02c3b.zip
arm: rpi: fix build warning
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
-rw-r--r--board/raspberrypi/rpi/rpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 82fde5f112..a89ae0646b 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -23,6 +23,7 @@
#ifdef CONFIG_ARM64
#include <asm/armv8/mmu.h>
#endif
+#include <usb.h>
#include <watchdog.h>
#include <dm/pinctrl.h>