aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/omap-iommu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/omap-iommu.h b/include/linux/omap-iommu.h
index 5b66325bc63c..d9eb8ccf93a6 100644
--- a/include/linux/omap-iommu.h
+++ b/include/linux/omap-iommu.h
@@ -13,6 +13,8 @@
13#ifndef _OMAP_IOMMU_H_ 13#ifndef _OMAP_IOMMU_H_
14#define _OMAP_IOMMU_H_ 14#define _OMAP_IOMMU_H_
15 15
16#include <linux/errno.h>
17
16struct iommu_domain; 18struct iommu_domain;
17 19
18#ifdef CONFIG_OMAP_IOMMU 20#ifdef CONFIG_OMAP_IOMMU
@@ -27,12 +29,12 @@ static inline void omap_iommu_restore_ctx(struct device *dev) {}
27 29
28static inline int omap_iommu_domain_deactivate(struct iommu_domain *domain) 30static inline int omap_iommu_domain_deactivate(struct iommu_domain *domain)
29{ 31{
30 return -ENOTSUP; 32 return -ENOTSUPP;
31} 33}
32 34
33static inline int omap_iommu_domain_activate(struct iommu_domain *domain) 35static inline int omap_iommu_domain_activate(struct iommu_domain *domain)
34{ 36{
35 return -ENOTSUP; 37 return -ENOTSUPP;
36} 38}
37#endif 39#endif
38 40