Re: [PATCH] staging: vchiq: make vchiq_platform_init static

From: Greg KH
Date: Mon Jun 06 2022 - 01:55:20 EST


On Wed, May 25, 2022 at 05:38:51PM +0800, Jiapeng Chong wrote:
> This symbol is not used outside of vchiq_arm.c, so marks it
> static.
>
> Fixes the following w1 warning:

What tool is "w1"?

>
> drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:466:5:
> warning: no previous prototype for ‘vchiq_platform_init’
> [-Wmissing-prototypes].

See my previous comments on how to do this properly.

thanks,

greg k-h