[PATCH]iommu: Include linux/err.h

From: Wang YanQing
Date: Mon Feb 25 2013 - 09:47:23 EST

The linux/iommu.h header uses ERR_PTR defined
in linux/err.h but doesn't include it.

Reviewed-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
Signed-off-by: Wang YanQing <udknight@xxxxxxxxx>
I send this twice to joerg.roedel@xxxxxxx more than one
month, but it had been ignored, I don't why.

include/linux/iommu.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index f3b99e1..f4a49a6 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)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/