projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dcff64
)
mx6sabresd: Include <usb/ehci-ci.h> header file
author
Diego Dorta
<diego.dorta@nxp.com>
Wed, 27 Sep 2017 16:12:40 +0000
(13:12 -0300)
committer
Stefano Babic
<sbabic@denx.de>
Thu, 12 Oct 2017 15:31:16 +0000
(17:31 +0200)
When compiling with W=1 the following warning is observed:
board/freescale/mx6sabresd/mx6sabresd.c:586:5: warning: no previous prototype for ‘board_ehci_hcd_init’ [-Wmissing-prototypes] int board_ehci_hcd_init(int port)
Remove this warning by including <usb/ehci-ci.h>.
Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
board/freescale/mx6sabresd/mx6sabresd.c
patch
|
blob
|
history
diff --git
a/board/freescale/mx6sabresd/mx6sabresd.c
b/board/freescale/mx6sabresd/mx6sabresd.c
index 15268f80620ab0476962b031397c7ee60ebbc875..878e1e7c0b6caa509bd628551f3e8e1dacfabf87 100644
(file)
--- a/
board/freescale/mx6sabresd/mx6sabresd.c
+++ b/
board/freescale/mx6sabresd/mx6sabresd.c
@@
-31,6
+31,7
@@
#include <power/pfuze100_pmic.h>
#include "../common/pfuze.h"
#include <usb.h>
+#include <usb/ehci-ci.h>
DECLARE_GLOBAL_DATA_PTR;