diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-10-22 10:48:26 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-10-25 20:38:58 +0200 |
commit | d1936cc2fc56f4cd7399b963fd66d58b539bb515 (patch) | |
tree | d7b4b2c82f513a3991315ec73e7ec89ce19efb99 /include/uapi/drm/amdgpu_drm.h | |
parent | drm/amdgpu: change function declarations and add missing header dependencies (diff) | |
download | linux-d1936cc2fc56f4cd7399b963fd66d58b539bb515.tar.xz linux-d1936cc2fc56f4cd7399b963fd66d58b539bb515.zip |
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>
Diffstat (limited to 'include/uapi/drm/amdgpu_drm.h')
0 files changed, 0 insertions, 0 deletions