OpenCloudOS-Kernel/drivers/gpu/drm/amd
Baoyou Xie d1936cc2fc drm/amdgpu: mark symbols static where possible
We get 2 warnings when building kernel with W=1:
drivers/gpu/drm/amd/amdgpu/si.c:908:5: warning: no previous prototype for 'si_pciep_rreg' [-Wmissing-prototypes]
drivers/gpu/drm/amd/amdgpu/si.c:921:6: warning: no previous prototype for 'si_pciep_wreg' [-Wmissing-prototypes]

In fact, both functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.

Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-10-25 14:38:58 -04:00
..
acp drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU 2016-05-25 09:44:15 -04:00
amdgpu drm/amdgpu: mark symbols static where possible 2016-10-25 14:38:58 -04:00
amdkfd Linux 4.8-rc8 2016-09-28 12:08:49 +10:00
include drm/amdgpu: use same vce state definition in dpm and powerplay 2016-10-25 14:38:39 -04:00
powerplay drm/amdgpu: change function declarations and add missing header dependencies 2016-10-25 14:38:58 -04:00
scheduler drm/amdgpu: fix timeout value check in amd_sched_job_recovery 2016-08-19 12:29:20 -04:00