]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: make arrays pctl0_data and pctl1_data static
authorColin Ian King <colin.king@canonical.com>
Thu, 6 Jul 2017 14:15:46 +0000 (10:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:19 +0000 (11:06 -0400)
commit606ce3c098b19cd5458930a133ef1577c64b1072
treec34534bec71ab239bea5bd26c1148d92f91e0e6e
parent8d6a5230e1a00c2f69e6c7e8a8fcef6d81a06dde
drm/amdgpu: make arrays pctl0_data and pctl1_data static

The arrays pctl0_data and pctl1_data do not need to be in global scope,
so them both static.

Cleans up sparse warnings:
symbol 'pctl0_data' was not declared. Should it be static?
symbol 'pctl1_data' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c