[PATCH] drm/vc4: mark vc4_bo_cache_purge() static

Eric Anholt eric at anholt.net
Fri Sep 9 19:22:07 UTC 2016


Baoyou Xie <baoyou.xie at linaro.org> writes:

> We get 1 warning when building kernel with W=1:
> drivers/gpu/drm/vc4/vc4_bo.c:147:6: warning: no previous prototype for 'vc4_bo_cache_purge' [-Wmissing-prototypes]
>
> In fact, this function is only used in the file in which it is
> declared and don't need a declaration, but can be made static.
> So this patch marks it 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie at linaro.org>

Applied to -fixes.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160909/4499cdcd/attachment.sig>


More information about the dri-devel mailing list