[PATCH] staging: vchiq: make vchiq_platform_init static

Greg KH gregkh at linuxfoundation.org
Sun Jun 5 22:54:44 PDT 2022


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



More information about the linux-rpi-kernel mailing list