@@ -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 */