]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iommu/arm-smmu: Rename arm-smmu-regs.h
authorRobin Murphy <robin.murphy@arm.com>
Thu, 15 Aug 2019 18:37:32 +0000 (19:37 +0100)
committerWill Deacon <will@kernel.org>
Mon, 19 Aug 2019 15:52:47 +0000 (16:52 +0100)
We're about to start using it for more than just register definitions,
so generalise the name.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu.c
drivers/iommu/arm-smmu.h [moved from drivers/iommu/arm-smmu-regs.h with 98% similarity]
drivers/iommu/qcom_iommu.c

index e9fd9117109e6e405575390f60e1f717ec1b51bb..f3b8301a305925b4e08962a6f3707f5cde7b119d 100644 (file)
@@ -46,7 +46,7 @@
 #include <linux/amba/bus.h>
 #include <linux/fsl/mc.h>
 
-#include "arm-smmu-regs.h"
+#include "arm-smmu.h"
 
 /*
  * Apparently, some Qualcomm arm64 platforms which appear to expose their SMMU
similarity index 98%
rename from drivers/iommu/arm-smmu-regs.h
rename to drivers/iommu/arm-smmu.h
index a8e28819228504dfaf6db701752720aaf0236579..ccc3097a4247eac6a10cac9839382b51c27a2e7f 100644 (file)
@@ -7,8 +7,8 @@
  * Author: Will Deacon <will.deacon@arm.com>
  */
 
-#ifndef _ARM_SMMU_REGS_H
-#define _ARM_SMMU_REGS_H
+#ifndef _ARM_SMMU_H
+#define _ARM_SMMU_H
 
 #include <linux/bits.h>
 
@@ -194,4 +194,4 @@ enum arm_smmu_cbar_type {
 #define ARM_SMMU_CB_ATSR               0x8f0
 #define ATSR_ACTIVE                    BIT(0)
 
-#endif /* _ARM_SMMU_REGS_H */
+#endif /* _ARM_SMMU_H */
index 60a125dd73005d2f3a0383b95c0e5ac243300d7f..a2062d13584f55fb1fd093471b72850e895b05e6 100644 (file)
@@ -33,7 +33,7 @@
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 
-#include "arm-smmu-regs.h"
+#include "arm-smmu.h"
 
 #define SMMU_INTR_SEL_NS     0x2000