iommu/core: Define iommu_ops and register_iommu only with CONFIG_IOMMU_API
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 6 Sep 2011 14:48:40 +0000 (16:48 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 21 Oct 2011 12:37:18 +0000 (14:37 +0200)
commit39d4ebb95925046863dc0ef2698dfcf2c1f1dcbe
treead9a31efe5d83217d49603dbe3894d80717c754b
parent51acc0bcfc91987ed38195918e0b40ff05197585
iommu/core: Define iommu_ops and register_iommu only with CONFIG_IOMMU_API

This makes it impossible to compile an iommu driver into the
kernel without selecting CONFIG_IOMMU_API.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
include/linux/iommu.h