Browse Source

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>
Brian Norris 11 years ago
parent
commit
cbff5634dc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/iommu/of_iommu.c

+ 1 - 0
drivers/iommu/of_iommu.c

@@ -20,6 +20,7 @@
 #include <linux/export.h>
 #include <linux/export.h>
 #include <linux/limits.h>
 #include <linux/limits.h>
 #include <linux/of.h>
 #include <linux/of.h>
+#include <linux/of_iommu.h>
 
 
 /**
 /**
  * of_get_dma_window - Parse *dma-window property and returns 0 if found.
  * of_get_dma_window - Parse *dma-window property and returns 0 if found.