@@ -371,8 +371,8 @@ static void arm_smmu_cmdq_build_sync_cmd(u64 *cmd, struct arm_smmu_device *smmu,
371371 arm_smmu_cmdq_build_cmd (cmd , & ent );
372372}
373373
374- static void __arm_smmu_cmdq_skip_err (struct arm_smmu_device * smmu ,
375- struct arm_smmu_cmdq * cmdq )
374+ void __arm_smmu_cmdq_skip_err (struct arm_smmu_device * smmu ,
375+ struct arm_smmu_cmdq * cmdq )
376376{
377377 static const char * const cerror_str [] = {
378378 [CMDQ_ERR_CERROR_NONE_IDX ] = "No error" ,
@@ -3521,12 +3521,10 @@ static struct iommu_dirty_ops arm_smmu_dirty_ops = {
35213521};
35223522
35233523/* Probing and initialisation functions */
3524- static int arm_smmu_init_one_queue (struct arm_smmu_device * smmu ,
3525- struct arm_smmu_queue * q ,
3526- void __iomem * page ,
3527- unsigned long prod_off ,
3528- unsigned long cons_off ,
3529- size_t dwords , const char * name )
3524+ int arm_smmu_init_one_queue (struct arm_smmu_device * smmu ,
3525+ struct arm_smmu_queue * q , void __iomem * page ,
3526+ unsigned long prod_off , unsigned long cons_off ,
3527+ size_t dwords , const char * name )
35303528{
35313529 size_t qsz ;
35323530
@@ -3564,8 +3562,8 @@ static int arm_smmu_init_one_queue(struct arm_smmu_device *smmu,
35643562 return 0 ;
35653563}
35663564
3567- static int arm_smmu_cmdq_init (struct arm_smmu_device * smmu ,
3568- struct arm_smmu_cmdq * cmdq )
3565+ int arm_smmu_cmdq_init (struct arm_smmu_device * smmu ,
3566+ struct arm_smmu_cmdq * cmdq )
35693567{
35703568 unsigned int nents = 1 << cmdq -> q .llq .max_n_shift ;
35713569
0 commit comments