OSDN Git Service

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 ba3b8a9..6a027dc 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)