summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-05-18 15:13:57 +0200
committerJoerg Roedel <jroedel@suse.de>2017-05-30 11:25:45 +0200
commit4b1c88984c8ac894c2c411570757bed7fa5f3226 (patch)
treebb4c58adb082ca0ceb6223d6b7d2c29e18817947 /virt
parent5ed02dbb497422bf225783f46e6eadd237d23d6b (diff)
iommu/dma: Fix function declaration
Newly added code in the ipmmu-vmsa driver showed a small mistake in a header file that can't be included by itself without CONFIG_IOMMU_DMA enabled: In file included from drivers/iommu/ipmmu-vmsa.c:13:0: include/linux/dma-iommu.h:105:94: error: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] This adds a forward declaration for 'struct device', similar to how we treat the other struct types in this case. Fixes: 3ae47292024f ("iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops") Fixes: 273df9635385 ("iommu/dma: Make PCI window reservation generic") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions