iommu: Include linux/err.h
authorWang YanQing <udknight@gmail.com>
Fri, 19 Apr 2013 01:38:04 +0000 (09:38 +0800)
committerJoerg Roedel <joro@8bytes.org>
Fri, 19 Apr 2013 19:05:10 +0000 (21:05 +0200)
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>
include/linux/iommu.h

index ba3b8a98a0499abcb4b24eff5d8e1201c2215d4e..6a027dc8dbfe7b46643072f36116338974457d8e 100644 (file)
@@ -20,6 +20,7 @@
 #define __LINUX_IOMMU_H
 
 #include <linux/errno.h>
+#include <linux/err.h>
 #include <linux/types.h>
 
 #define IOMMU_READ     (1)
This page took 0.024729 seconds and 5 git commands to generate.