[PATCH 2/2] staging: vchiq_arm: add prototype of function vchiq_platform_init()

Dan Carpenter dan.carpenter at oracle.com
Thu Mar 3 04:25:47 PST 2022


On Wed, Mar 02, 2022 at 06:36:38PM -0300, Gaston Gonzalez wrote:
> Fix "no previous prototype" W=1 warning by adding the prototype of the
> function vchiq_platform_init().
> 
> Note: vchiq_platform_init() is only called once in vchiq_probe(), so
> presumably should be static function. However, making the function
> static breaks the build.
> 

That's weird.  I don't have an ARM cross compile set up.  How does the
build break?

regards,
dan carpenter




More information about the linux-arm-kernel mailing list