]> git.baikalelectronics.ru Git - kernel.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)
commitcfea2b406d6a2536e8d6e63cbbf05d09713c5ea2
treec34534bec71ab239bea5bd26c1148d92f91e0e6e
parentd31dc281eed385ee95879924d88ab58500053081
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