diff options
| author | Lee Jones <[email protected]> | 2020-11-23 11:19:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-11-24 17:09:53 +0000 |
| commit | 91fadc92bb161766356054c3195182c23155383f (patch) | |
| tree | 33d4391dd1244334238c21336b6d6d830183bfb0 /drivers/gpu/drm/amd/amdgpu/cik_sdma.c | |
| parent | drm/amd/include/navi14_ip_offset: Mark top-level IP_BASE as __maybe_unused (diff) | |
| download | kernel-91fadc92bb161766356054c3195182c23155383f.tar.gz kernel-91fadc92bb161766356054c3195182c23155383f.zip | |
drm/amd/include/navi12_ip_offset: Mark top-level IP_BASE as __maybe_unused
Fixes the following W=1 kernel build warning(s):
In file included from drivers/gpu/drm/amd/amdgpu/navi12_reg_init.c:27:
drivers/gpu/drm/amd/amdgpu/../include/navi12_ip_offset.h:179:29: warning: ‘USB0_BASE’ defined but not used [-Wunused-const-variable=]
179 | static const struct IP_BASE USB0_BASE ={ { { { 0x0242A800, 0x05B00000, 0, 0, 0 } },
| ^~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/navi12_ip_offset.h:172:29: warning: ‘UMC_BASE’ defined but not used [-Wunused-const-variable=]
172 | static const struct IP_BASE UMC_BASE ={ { { { 0x00014000, 0x02425800, 0, 0, 0 } },
| ^~~~~~~~
drivers/gpu/drm/amd/amdgpu/../include/navi12_ip_offset.h:151:29: warning: ‘SDMA_BASE’ defined but not used [-Wunused-const-variable=]
151 | static const struct IP_BASE SDMA_BASE ={ { { { 0x00001260, 0x0000A000, 0x02402C00, 0, 0 } },
| ^~~~~~~~~
NB: Snipped a few of these
Acked-by: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik_sdma.c')
0 files changed, 0 insertions, 0 deletions
