Re: [PATCH 23/40] drm/amd/include/vega20_ip_offset: Mark top-level IP_BASE definition as __maybe_unused

2020-11-24 Thread Alex Deucher
On Mon, Nov 23, 2020 at 6:20 AM Lee Jones wrote: > > In file included from drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c:27: > drivers/gpu/drm/amd/amdgpu/../include/vega20_ip_offset.h:154:29: warning: > ‘XDMA_BASE’ defined but not used [-Wunused-const-variable= > 154 | static const struct

[PATCH 23/40] drm/amd/include/vega20_ip_offset: Mark top-level IP_BASE definition as __maybe_unused

2020-11-23 Thread Lee Jones
In file included from drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c:27: drivers/gpu/drm/amd/amdgpu/../include/vega20_ip_offset.h:154:29: warning: ‘XDMA_BASE’ defined but not used [-Wunused-const-variable= 154 | static const struct IP_BASE XDMA_BASE ={ { { { 0x3400, 0, 0, 0, 0, 0 } }, |