iommu: Move sg_table wrapper out of CONFIG_IOMMU_SUPPORT
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 30 Jun 2020 08:17:56 +0000 (10:17 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 30 Jun 2020 10:15:42 +0000 (12:15 +0200)
commitca37faf3d7005b5588f045edfac1d82799c408a7
treeb6899eb606782d01533244b9ce3e4b714881b83b
parent6255c8c8d256b38b550b35c6362750f64ce46b8d
iommu: Move sg_table wrapper out of CONFIG_IOMMU_SUPPORT

Move the recently added sg_table wrapper out of CONFIG_IOMMU_SUPPORT to
let the client code copile also when IOMMU support is disabled.

Fixes: 48530d9fab0d ("iommu: add generic helper for mapping sgtable objects")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20200630081756.18526-1-m.szyprowski@samsung.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/iommu.h