[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1386206573-16158-1-git-send-email-computersforpeace@gmail.com>
Date: Wed, 4 Dec 2013 17:22:53 -0800
From: Brian Norris <computersforpeace@...il.com>
To: Joerg Roedel <joro@...tes.org>
Cc: Brian Norris <computersforpeace@...il.com>,
Linux Kernel <linux-kernel@...r.kernel.org>,
iommu@...ts.linux-foundation.org, Hiroshi DOYU <hdoyu@...dia.com>
Subject: [PATCH] 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@...il.com>
Cc: Hiroshi DOYU <hdoyu@...dia.com>
---
drivers/iommu/of_iommu.c | 1 +
1 file changed, 1 insertion(+)
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.
--
1.8.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists