]> code.ossystems Code Review - bsp/u-boot.git/commit
usb: ehci-ci: Add a prototype for board_ehci_power()
authorDiego Dorta <diego.dorta@nxp.com>
Wed, 27 Sep 2017 16:12:39 +0000 (13:12 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 2 Oct 2017 17:31:32 +0000 (14:31 -0300)
commit9b1dd35df21dca06642205bf96213f525e0c6a25
tree46a666f9a5d76e94ef51b0b8d5f71ce04e299b72
parent23e7d7d1c62a2a47aa1bc483a7a43a309048617e
usb: ehci-ci: Add a prototype for board_ehci_power()

When compiling with W=1 the following warning is observed:

board/freescale/mx6sabresd/mx6sabresd.c:601:5: warning: no previous prototype for â€˜board_ehci_power’ [-Wmissing-prototypes] int board_ehci_power(int port, int on)

Remove this warning by adding the function prototype into usb/ehci-ci.h file.

Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
(cherry picked from commit c94dc551940208a93c6cda3d59325c103b50b41f)
include/usb/ehci-ci.h