aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-08-03 09:55:41 -0400
committerJoerg Roedel <joerg.roedel@amd.com>2012-08-03 10:04:43 -0400
commitba1eabfade3272596000bf3c62b68ca375e48b08 (patch)
tree63ca3bcab96ded686e77bcfbecef9c32610341ef /include
parent76582d0a68ab6c46987dd678165c26ad81c44cdb (diff)
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 <thierry.reding@avionic-design.de> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/iommu.h1
1 files changed, 1 insertions, 0 deletions
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;
31struct bus_type; 31struct bus_type;
32struct device; 32struct device;
33struct iommu_domain; 33struct iommu_domain;
34struct notifier_block;
34 35
35/* iommu fault flags */ 36/* iommu fault flags */
36#define IOMMU_FAULT_READ 0x0 37#define IOMMU_FAULT_READ 0x0