From: Joerg Roedel Date: Fri, 3 Aug 2012 13:55:41 +0000 (+0200) Subject: iommu: Add missing forward declaration in include file X-Git-Tag: firefly_0821_release~3680^2~2191^2~8 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ba1eabfade3272596000bf3c62b68ca375e48b08;p=firefly-linux-kernel-4.4.55.git iommu: Add missing forward declaration in include file The 'struct notifier_block' is not used in linux/iommu.h but not declared anywhere. Add a forward declaration for it. Reported-by: Thierry Reding Signed-off-by: Joerg Roedel --- diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 0a85199191b9..7e83370e6fd2 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -31,6 +31,7 @@ struct iommu_group; struct bus_type; struct device; struct iommu_domain; +struct notifier_block; /* iommu fault flags */ #define IOMMU_FAULT_READ 0x0