Re: [PATCH 2/2] staging: vchiq_arm: add prototype of function vchiq_platform_init()
From: Dan Carpenter
Date: Thu Mar 03 2022 - 07:26:25 EST
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