[Freedreno] [PATCH 1/5] iommu/arm-smmu-qcom: Fix indentation
Rob Clark
robdclark at gmail.com
Sun Aug 21 18:19:02 UTC 2022
From: Rob Clark <robdclark at chromium.org>
Plus typo.
Signed-off-by: Rob Clark <robdclark at chromium.org>
---
include/linux/adreno-smmu-priv.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/include/linux/adreno-smmu-priv.h b/include/linux/adreno-smmu-priv.h
index c637e0997f6d..ac4c2c0ab724 100644
--- a/include/linux/adreno-smmu-priv.h
+++ b/include/linux/adreno-smmu-priv.h
@@ -37,7 +37,7 @@ struct adreno_smmu_fault_info {
/**
* struct adreno_smmu_priv - private interface between adreno-smmu and GPU
*
- * @cookie: An opque token provided by adreno-smmu and passed
+ * @cookie: An opaque token provided by adreno-smmu and passed
* back into the callbacks
* @get_ttbr1_cfg: Get the TTBR1 config for the GPUs context-bank
* @set_ttbr0_cfg: Set the TTBR0 config for the GPUs context bank. A
@@ -61,12 +61,12 @@ struct adreno_smmu_fault_info {
* it's domain.
*/
struct adreno_smmu_priv {
- const void *cookie;
- const struct io_pgtable_cfg *(*get_ttbr1_cfg)(const void *cookie);
- int (*set_ttbr0_cfg)(const void *cookie, const struct io_pgtable_cfg *cfg);
- void (*get_fault_info)(const void *cookie, struct adreno_smmu_fault_info *info);
- void (*set_stall)(const void *cookie, bool enabled);
- void (*resume_translation)(const void *cookie, bool terminate);
+ const void *cookie;
+ const struct io_pgtable_cfg *(*get_ttbr1_cfg)(const void *cookie);
+ int (*set_ttbr0_cfg)(const void *cookie, const struct io_pgtable_cfg *cfg);
+ void (*get_fault_info)(const void *cookie, struct adreno_smmu_fault_info *info);
+ void (*set_stall)(const void *cookie, bool enabled);
+ void (*resume_translation)(const void *cookie, bool terminate);
};
#endif /* __ADRENO_SMMU_PRIV_H */
--
2.37.2
More information about the Freedreno
mailing list