iommu: Add missing forward declaration in include file
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 3 Aug 2012 13:55:41 +0000 (15:55 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 3 Aug 2012 14:04:43 +0000 (16:04 +0200)
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 <thierry.reding@avionic-design.de>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
include/linux/iommu.h

index 0a85199..7e83370 100644 (file)
@@ -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