iommu: add missing include
authorBrian Norris <computersforpeace@gmail.com>
Thu, 5 Dec 2013 01:22:53 +0000 (17:22 -0800)
committerJoerg Roedel <joro@8bytes.org>
Tue, 7 Jan 2014 14:16:27 +0000 (15:16 +0100)
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>
drivers/iommu/of_iommu.c

index ee249bc..e550ccb 100644 (file)
@@ -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.