iommu: Include linux/err.h

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>
This commit is contained in:
Wang YanQing 2013-04-19 09:38:04 +08:00 committed by Joerg Roedel
parent 41ef2d5678
commit 9a08d37668
1 changed files with 1 additions and 0 deletions

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)