iommu: Include linux/err.h

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

Cc:[email protected]
Reviewed-by: Alex Williamson <[email protected]>
Signed-off-by: Wang YanQing <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
This commit is contained in:
Wang YanQing 2013-04-19 09:38:04 +08:00 • committed by Joerg Roedel
commit 9a08d37668

View 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)