]> git.baikalelectronics.ru Git - uboot.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)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Oct 2017 15:31:16 +0000 (17:31 +0200)
commita22678316514ad78773ed8c1e20566f375a51b3a
treec7b4cc1d596e3836ef1f09ec6aafb946103769d2
parent9d02b87a10b8c613781b3a90b903986b391a5ca5
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>
include/usb/ehci-ci.h