mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-01 00:50:43 +09:00
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)
This commit is contained in:
parent
23e7d7d1c6
commit
9b1dd35df2
@ -280,6 +280,7 @@ struct usb_ehci {
|
|||||||
int usb_phy_mode(int port);
|
int usb_phy_mode(int port);
|
||||||
/* Board-specific initialization */
|
/* Board-specific initialization */
|
||||||
int board_ehci_hcd_init(int port);
|
int board_ehci_hcd_init(int port);
|
||||||
|
int board_ehci_power(int port, int on);
|
||||||
int board_usb_phy_mode(int port);
|
int board_usb_phy_mode(int port);
|
||||||
|
|
||||||
#endif /* _EHCI_CI_H */
|
#endif /* _EHCI_CI_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user