[U-Boot] [PATCH 3/5] mx7dsabresd: Include USB header
Fabio Estevam
festevam at gmail.com
Sun Sep 13 18:06:44 CEST 2015
From: Fabio Estevam <fabio.estevam at freescale.com>
Include <usb/ehci-fsl.h> in order to fix the following sparse warning:
board/freescale/mx7dsabresd/mx7dsabresd.c:538:5: warning: symbol 'board_ehci_hcd_init' was not declared. Should it be static?
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
board/freescale/mx7dsabresd/mx7dsabresd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c
index 6c2fc98..4c18b5a 100644
--- a/board/freescale/mx7dsabresd/mx7dsabresd.c
+++ b/board/freescale/mx7dsabresd/mx7dsabresd.c
@@ -24,6 +24,7 @@
#include <i2c.h>
#include <asm/imx-common/mxc_i2c.h>
#include <asm/arch/crm_regs.h>
+#include <usb/ehci-fsl.h>
DECLARE_GLOBAL_DATA_PTR;
--
1.9.1
More information about the U-Boot
mailing list