@@ -371,8 +371,8 @@ static void arm_smmu_cmdq_build_sync_cmd(u64 *cmd, struct arm_smmu_device *smmu,
371
371
arm_smmu_cmdq_build_cmd (cmd , & ent );
372
372
}
373
373
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 )
376
376
{
377
377
static const char * const cerror_str [] = {
378
378
[CMDQ_ERR_CERROR_NONE_IDX ] = "No error" ,
@@ -3521,12 +3521,10 @@ static struct iommu_dirty_ops arm_smmu_dirty_ops = {
3521
3521
};
3522
3522
3523
3523
/* 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 )
3530
3528
{
3531
3529
size_t qsz ;
3532
3530
@@ -3564,8 +3562,8 @@ static int arm_smmu_init_one_queue(struct arm_smmu_device *smmu,
3564
3562
return 0 ;
3565
3563
}
3566
3564
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 )
3569
3567
{
3570
3568
unsigned int nents = 1 << cmdq -> q .llq .max_n_shift ;
3571
3569
0 commit comments