diff options
| author | YueHaibing <[email protected]> | 2020-09-10 15:50:06 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-09-15 17:52:39 -0400 |
| commit | 2b3bbf23549f186520005cecc6795327eeb29a35 (patch) | |
| tree | bc14bdfbdd0b0431d19bbda4201c450adbd6c296 /drivers/usb/cdns3/core.c | |
| parent | f399d4de2d6a2e329ef3bceaa0e6a74c9d36c3cd (diff) | |
drm/amdkfd: Fix -Wunused-const-variable warning
If KFD_SUPPORT_IOMMU_V2 is not set, gcc warns:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:121:37: warning: ‘raven_device_info’ defined but not used [-Wunused-const-variable=]
static const struct kfd_device_info raven_device_info = {
^~~~~~~~~~~~~~~~~
As Huang Rui suggested, Raven already has the fallback path,
so it should be out of IOMMU v2 flag.
Suggested-by: Huang Rui <[email protected]>
Signed-off-by: YueHaibing <[email protected]>
Acked-by: Huang Rui <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/core.c')
0 files changed, 0 insertions, 0 deletions