summaryrefslogtreecommitdiff
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorWang YanQing <udknight@gmail.com>2013-04-19 05:38:04 +0400
committerJoerg Roedel <joro@8bytes.org>2013-04-19 23:05:10 +0400
commit9a08d3766874835f4eba1b3d66938326c069d817 (patch)
tree2fc9368cd134c2f910760256f60bcf95ea8c58a5 /include/linux/iommu.h
parent41ef2d5678d83af030125550329b6ae8b74618fa (diff)
downloadlinux-9a08d3766874835f4eba1b3d66938326c069d817.tar.xz
iommu: Include linux/err.h
The linux/iommu.h header uses ERR_PTR defined in linux/err.h but doesn't include it. Cc:joro@8bytes.org Reviewed-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Wang YanQing <udknight@gmail.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>
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 ba3b8a98a049..6a027dc8dbfe 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -20,6 +20,7 @@
#define __LINUX_IOMMU_H
#include <linux/errno.h>
+#include <linux/err.h>
#include <linux/types.h>
#define IOMMU_READ (1)