Re: [U-Boot] [PATCH 3/4] usb: ehci-ci: Add a prototype for board_ehci_power()

2017-10-02 Thread Stefano Babic
On 27/09/2017 18:12, Diego Dorta wrote: > 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

[U-Boot] [PATCH 3/4] usb: ehci-ci: Add a prototype for board_ehci_power()

2017-09-27 Thread Diego Dorta
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