Skip to content

Commit 89edbe8

Browse files
nicolincwilldeacon
authored andcommitted
iommu/tegra241-cmdqv: Staticize cmdqv_debugfs_dir
Fix a sparse warning. Fixes: 918eb5c ("iommu/arm-smmu-v3: Add in-kernel support for NVIDIA Tegra241 (Grace) CMDQV") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Nicolin Chen <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 8e929cb commit 89edbe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ static int tegra241_cmdqv_init_structures(struct arm_smmu_device *smmu)
800800
return 0;
801801
}
802802

803-
struct dentry *cmdqv_debugfs_dir;
803+
static struct dentry *cmdqv_debugfs_dir;
804804

805805
static struct arm_smmu_device *
806806
__tegra241_cmdqv_probe(struct arm_smmu_device *smmu, struct resource *res,

0 commit comments

Comments
 (0)