summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2013-12-05 02:22:53 +0100
committerJoerg Roedel <joro@8bytes.org>2014-01-07 15:16:27 +0100
commitcbff5634dcb78ae2c3a687de2b097fd26967604d (patch)
tree60203f7c58cd196f11918c3953f0dbd872eb82b5
parentiommu: Add empty stub for iommu_group_get_by_id() (diff)
downloadlinux-cbff5634dcb78ae2c3a687de2b097fd26967604d.tar.xz
linux-cbff5634dcb78ae2c3a687de2b097fd26967604d.zip
iommu: add missing include
Fix a warning in of_iommu.c: drivers/iommu/of_iommu.c:38:5: warning: no previous prototype for 'of_get_dma_window' [-Wmissing-prototypes] Signed-off-by: Brian Norris <computersforpeace@gmail.com> Cc: Hiroshi DOYU <hdoyu@nvidia.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>
-rw-r--r--drivers/iommu/of_iommu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/of_iommu.c b/drivers/iommu/of_iommu.c
index ee249bc959f8..e550ccb7634e 100644
--- a/drivers/iommu/of_iommu.c
+++ b/drivers/iommu/of_iommu.c
@@ -20,6 +20,7 @@
#include <linux/export.h>
#include <linux/limits.h>
#include <linux/of.h>
+#include <linux/of_iommu.h>
/**
* of_get_dma_window - Parse *dma-window property and returns 0 if found.