瀏覽代碼

mx6sabresd: Include <usb/ehci-ci.h> header file

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>
Diego Dorta 7 年之前
父節點
當前提交
adaf7c9f13
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      board/freescale/mx6sabresd/mx6sabresd.c

+ 1 - 0
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;