[PATCH][TRIVIAL] iommu: Include linux/err.h

From: Wang YanQing
Date: Mon Apr 08 2013 - 04:19:12 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)
--
1.7.11.1.116.g8228a23
--
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/