drm/msm: make a5xx_show and a5xx_gpu_state_put static
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 9 Oct 2019 11:46:07 +0000 (12:46 +0100)
committerSean Paul <seanpaul@chromium.org>
Thu, 10 Oct 2019 18:49:40 +0000 (14:49 -0400)
commitfcb5c172409da337f81a84fb5dc8c6baa4e8dc67
tree48cb35a3d1d33c13f25668172e798bae0178e395
parentdf4954e30d0e6786b95c228f931a52261ce6b8d5
drm/msm: make a5xx_show and a5xx_gpu_state_put static

The a5xx_show and a5xx_gpu_state_put objects are not exported
outside of the file, so make them static to avoid the following
warnings from sparse:

drivers/gpu/drm/msm/adreno/a5xx_gpu.c:1292:5: warning: symbol 'a5xx_gpu_state_put' was not declared. Should it be static?
drivers/gpu/drm/msm/adreno/a5xx_gpu.c:1302:6: warning: symbol 'a5xx_show' was not declared. Should it be static?

Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191009114607.701-1-ben.dooks@codethink.co.uk
drivers/gpu/drm/msm/adreno/a5xx_gpu.c