diff options
author | Joerg Roedel <jroedel@suse.de> | 2017-03-23 00:06:17 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-03-23 00:06:17 +0100 |
commit | b4d8c7aea15efa8c6272c58d78296f8b017c4c6a (patch) | |
tree | 0453d3f0adea64293f7478e140b3a099c4ca56cd /drivers/iommu/iommu.c | |
parent | iommu: Add dummy implementations for !IOMMU_IOVA (diff) | |
download | linux-b4d8c7aea15efa8c6272c58d78296f8b017c4c6a.tar.xz linux-b4d8c7aea15efa8c6272c58d78296f8b017c4c6a.zip |
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: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions