]> git.sur5r.net Git - u-boot/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)
commit2dcff642ef75b39286df7adf6debdd13819ec2c9
treec7b4cc1d596e3836ef1f09ec6aafb946103769d2
parentadf9bd3b23667e4fc1abd8810222ca9823ef7732
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