From: Stephen Boyd Date: Wed, 24 Jul 2013 20:54:33 +0000 (-0700) Subject: iommu/msm: Move mach includes to iommu directory X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0b559df5ce587cd2430bdc660c3e60d554d2c907;p=linux-beck.git iommu/msm: Move mach includes to iommu directory 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 Cc: Stepan Moskovchenko Signed-off-by: Stephen Boyd Signed-off-by: David Brown --- diff --git a/drivers/iommu/msm_iommu.c b/drivers/iommu/msm_iommu.c index 8ab4f41090af..f5ff657f49fa 100644 --- a/drivers/iommu/msm_iommu.c +++ b/drivers/iommu/msm_iommu.c @@ -31,8 +31,8 @@ #include #include -#include -#include +#include "msm_iommu_hw-8xxx.h" +#include "msm_iommu.h" #define MRC(reg, processor, op1, crn, crm, op2) \ __asm__ __volatile__ ( \ diff --git a/arch/arm/mach-msm/include/mach/iommu.h b/drivers/iommu/msm_iommu.h similarity index 100% rename from arch/arm/mach-msm/include/mach/iommu.h rename to drivers/iommu/msm_iommu.h diff --git a/drivers/iommu/msm_iommu_dev.c b/drivers/iommu/msm_iommu_dev.c index 6ba351477132..0a1c9626aa9e 100644 --- a/drivers/iommu/msm_iommu_dev.c +++ b/drivers/iommu/msm_iommu_dev.c @@ -27,8 +27,8 @@ #include #include -#include -#include +#include "msm_iommu_hw-8xxx.h" +#include "msm_iommu.h" struct iommu_ctx_iter_data { /* input */ diff --git a/arch/arm/mach-msm/include/mach/iommu_hw-8xxx.h b/drivers/iommu/msm_iommu_hw-8xxx.h similarity index 100% rename from arch/arm/mach-msm/include/mach/iommu_hw-8xxx.h rename to drivers/iommu/msm_iommu_hw-8xxx.h