]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: ipuv3-plane: Make functions static when possible
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 13 Feb 2018 19:11:34 +0000 (17:11 -0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 15 Mar 2018 16:52:40 +0000 (17:52 +0100)
commitaae87fd08dcb7e7e6128a13337b6d88ec6e7cc18
treeb510f14487d8001a9bdbf52794268a74ddd0fcc1
parente00bc4224c8115b7fcbdd357f618f3ea6afc1e33
drm/imx: ipuv3-plane: Make functions static when possible

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@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c