summaryrefslogtreecommitdiff
path: root/drivers/iommu/iova.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-05-09 01:02:16 +0300
committerJoerg Roedel <jroedel@suse.de>2020-05-13 11:46:56 +0300
commit2ba20b5a5b8f948d498f4b38ba910ff339e609ef (patch)
tree4b14f949815ff688f4558ab837de85bb8b0fc800 /drivers/iommu/iova.c
parentf38338cf0691b5fae5f9a46d188eef92ab9e6296 (diff)
downloadlinux-2ba20b5a5b8f948d498f4b38ba910ff339e609ef.tar.xz
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 <arnd@arndb.de> Reviewed-by: Simon Horman <horms@verge.net.au> Link: https://lore.kernel.org/r/20200508220224.688985-1-arnd@arndb.de Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/iova.c')
0 files changed, 0 insertions, 0 deletions