Skip to content

Commit

Permalink
iommu/msm: Move mach includes to iommu directory
Browse files Browse the repository at this point in the history
Two header files exist in mach-msm's include/mach directory that
are only used by the MSM iommu driver. Move these files to the
iommu driver directory and prefix them with "msm_". This allows
us to compile the MSM iommu driver on multi-platform kernels.

Acked-by: Joerg Roedel <[email protected]>
Cc: Stepan Moskovchenko <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Signed-off-by: David Brown <[email protected]>
  • Loading branch information
bebarino authored and David Brown committed Aug 6, 2013
1 parent 20508a1 commit 0b559df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/iommu/msm_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#include <asm/cacheflush.h>
#include <asm/sizes.h>

#include <mach/iommu_hw-8xxx.h>
#include <mach/iommu.h>
#include "msm_iommu_hw-8xxx.h"
#include "msm_iommu.h"

#define MRC(reg, processor, op1, crn, crm, op2) \
__asm__ __volatile__ ( \
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions drivers/iommu/msm_iommu_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#include <linux/err.h>
#include <linux/slab.h>

#include <mach/iommu_hw-8xxx.h>
#include <mach/iommu.h>
#include "msm_iommu_hw-8xxx.h"
#include "msm_iommu.h"

struct iommu_ctx_iter_data {
/* input */
Expand Down
File renamed without changes.

0 comments on commit 0b559df

Please sign in to comment.