summaryrefslogtreecommitdiff
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-08-03 17:55:41 +0400
committerJoerg Roedel <joerg.roedel@amd.com>2012-08-03 18:04:43 +0400
commitba1eabfade3272596000bf3c62b68ca375e48b08 (patch)
tree63ca3bcab96ded686e77bcfbecef9c32610341ef /include/linux/iommu.h
parent76582d0a68ab6c46987dd678165c26ad81c44cdb (diff)
downloadlinux-ba1eabfade3272596000bf3c62b68ca375e48b08.tar.xz
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