summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/of_iommu.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2013-12-04 17:22:53 -0800
committerJoerg Roedel <joro@8bytes.org>2014-01-07 15:16:27 +0100
commitcbff5634dcb78ae2c3a687de2b097fd26967604d (patch)
tree60203f7c58cd196f11918c3953f0dbd872eb82b5 /drivers/iommu/of_iommu.c
parentb62dfd29eeaf12f8bc79a50f680901e84b351851 (diff)
downloadtalos-op-linux-cbff5634dcb78ae2c3a687de2b097fd26967604d.tar.gz
talos-op-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>
Diffstat (limited to 'drivers/iommu/of_iommu.c')
-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.
OpenPOWER on IntegriCloud