aboutsummaryrefslogtreecommitdiff
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-08-03 15:55:41 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2012-08-03 16:04:43 +0200
commitba1eabfade3272596000bf3c62b68ca375e48b08 (patch)
tree63ca3bcab96ded686e77bcfbecef9c32610341ef /include/linux/iommu.h
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/linux/iommu.h')
-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;
struct bus_type;
struct device;
struct iommu_domain;
+struct notifier_block;
/* iommu fault flags */
#define IOMMU_FAULT_READ 0x0