[PATCH 2/4] usb: dwc2: Move static function prototypes into core.c

Jules Maselbas jmaselbas at kalray.eu
Thu Dec 10 05:18:41 EST 2020


On Thu, Dec 10, 2020 at 11:05:09AM +0100, Sascha Hauer wrote:
> Hi Jules,
> 
> On Wed, Dec 09, 2020 at 03:55:45PM +0100, Jules Maselbas wrote:
> 
> There should be a forward declaration necessary for static functions.
> You are changing the declarations to static here, but not the
> implementations further down in this file, so this shouldn't compile.
> 
Yes, I though there were already static, but it wasn't the case...
So I am going to remove theses declarations and add the static keyword
were is it missing.

> No need to move this declaration.
ok


> Sascha
> 
> -- 
> Pengutronix e.K.                           |                             |
> Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 




More information about the barebox mailing list