* [PATCH] iommu: add missing include
@ 2013-12-05 1:22 Brian Norris
2014-01-07 14:16 ` Joerg Roedel
0 siblings, 1 reply; 2+ messages in thread
From: Brian Norris @ 2013-12-05 1:22 UTC (permalink / raw)
To: Joerg Roedel; +Cc: Brian Norris, Linux Kernel, iommu, Hiroshi DOYU
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>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] iommu: add missing include
2013-12-05 1:22 [PATCH] iommu: add missing include Brian Norris
@ 2014-01-07 14:16 ` Joerg Roedel
0 siblings, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2014-01-07 14:16 UTC (permalink / raw)
To: Brian Norris; +Cc: Linux Kernel, iommu, Hiroshi DOYU
On Wed, Dec 04, 2013 at 05:22:53PM -0800, Brian Norris wrote:
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-07 14:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-05 1:22 [PATCH] iommu: add missing include Brian Norris
2014-01-07 14:16 ` Joerg Roedel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome