Skip to content
Commit b4d8c7ae authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/iova: Fix compile error with CONFIG_IOMMU_IOVA=m



The #ifdef in iova.h only catches the CONFIG_IOMMU_IOVA=y
case, so that compilation as a module fails with duplicate
function definition errors. Fix it by catching both cases in
the #if.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 21aff52a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment