diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-08-03 09:55:41 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-08-03 10:04:43 -0400 |
commit | ba1eabfade3272596000bf3c62b68ca375e48b08 (patch) | |
tree | 63ca3bcab96ded686e77bcfbecef9c32610341ef /include | |
parent | 76582d0a68ab6c46987dd678165c26ad81c44cdb (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.h | 1 |
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; | |||
31 | struct bus_type; | 31 | struct bus_type; |
32 | struct device; | 32 | struct device; |
33 | struct iommu_domain; | 33 | struct iommu_domain; |
34 | struct notifier_block; | ||
34 | 35 | ||
35 | /* iommu fault flags */ | 36 | /* iommu fault flags */ |
36 | #define IOMMU_FAULT_READ 0x0 | 37 | #define IOMMU_FAULT_READ 0x0 |