diff options
author | Diego Dorta <diego.dorta@nxp.com> | 2017-09-27 13:12:39 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-10-12 17:31:16 +0200 |
commit | 2dcff642ef75b39286df7adf6debdd13819ec2c9 (patch) | |
tree | c7b4cc1d596e3836ef1f09ec6aafb946103769d2 /include/usb | |
parent | adf9bd3b23667e4fc1abd8810222ca9823ef7732 (diff) |
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>
Diffstat (limited to 'include/usb')
-rw-r--r-- | include/usb/ehci-ci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/ehci-ci.h b/include/usb/ehci-ci.h index 59bfc14df6..4853cb2c71 100644 --- a/include/usb/ehci-ci.h +++ b/include/usb/ehci-ci.h @@ -280,6 +280,7 @@ struct usb_ehci { int usb_phy_mode(int port); /* Board-specific initialization */ int board_ehci_hcd_init(int port); +int board_ehci_power(int port, int on); int board_usb_phy_mode(int port); #endif /* _EHCI_CI_H */ |