From: Laura Abbott Date: Wed, 8 Jun 2011 21:29:11 +0000 (-0400) Subject: iommu-api: Add missing header file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=74315cccd2104a953f493acca2c6b0519d6f5c6f;p=openwrt%2Fstaging%2Fblogic.git iommu-api: Add missing header file If CONFIG_IOMMU_API is not defined some functions will just return -ENODEV. Add errno.h for the definition of ENODEV. Signed-off-by: Laura Abbott Signed-off-by: Joerg Roedel --- diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 0a2ba4098996..9940319d6f9d 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -19,6 +19,8 @@ #ifndef __LINUX_IOMMU_H #define __LINUX_IOMMU_H +#include + #define IOMMU_READ (1) #define IOMMU_WRITE (2) #define IOMMU_CACHE (4) /* DMA cache coherency */