Skip to content

Commit

Permalink
iommu: add missing include
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brian Norris authored and Joerg Roedel committed Jan 7, 2014
1 parent b62dfd2 commit cbff563
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/iommu/of_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit cbff563

Please sign in to comment.