mx6sabresd: Include <usb/ehci-ci.h> header file
authorDiego Dorta <diego.dorta@nxp.com>
Wed, 27 Sep 2017 16:12:40 +0000 (13:12 -0300)
committerStefano 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

index 15268f8..878e1e7 100644 (file)
@@ -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;