diff options
| author | Arnd Bergmann <[email protected]> | 2020-05-09 00:02:16 +0200 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2020-05-13 10:46:56 +0200 |
| commit | 2ba20b5a5b8f948d498f4b38ba910ff339e609ef (patch) | |
| tree | 4b14f949815ff688f4558ab837de85bb8b0fc800 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | f38338cf0691b5fae5f9a46d188eef92ab9e6296 (diff) | |
iommu/renesas: Fix unused-function warning
gcc warns because the only reference to ipmmu_find_group
is inside of an #ifdef:
drivers/iommu/ipmmu-vmsa.c:878:28: error: 'ipmmu_find_group' defined but not used [-Werror=unused-function]
Change the #ifdef to an equivalent IS_ENABLED().
Fixes: 6580c8a78424 ("iommu/renesas: Convert to probe/release_device() call-backs")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions