[PATCH 1/2] drm/imx: ipuv3-plane: Make functions static when possible

Philipp Zabel p.zabel at pengutronix.de
Tue Feb 27 08:40:38 UTC 2018


On Tue, 2018-02-13 at 17:11 -0200, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> ipu_plane_state_reset(), ipu_plane_duplicate_state() and 
> ipu_plane_destroy_state() are only used in this file, so make them static.
> 
> This fixes the following sparse warnings:
> 
> drivers/gpu/drm/imx/ipuv3-plane.c:275:6: warning: symbol 'ipu_plane_state_reset' was not declared. Should it be static?
> drivers/gpu/drm/imx/ipuv3-plane.c:295:24: warning: symbol 'ipu_plane_duplicate_state' was not declared. Should it be static?
> drivers/gpu/drm/imx/ipuv3-plane.c:309:6: warning: symbol 'ipu_plane_destroy_state' was not declared. Should it be static?
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>

Applied both to imx-drm/fixes, thanks.

regards
Philipp


More information about the dri-devel mailing list