diff options
| author | Will Deacon <[email protected]> | 2024-10-29 15:58:24 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2024-10-29 15:58:24 +0000 |
| commit | 5492f0c4085a8fb8820ff974f17b83a7d6dab5a5 (patch) | |
| tree | 589abbfeba79e912fd9352af5b88510ff92ca26e /drivers/usb/cdns3/cdns3-imx.c | |
| parent | iommu/arm-smmu: Defer probe of clients after smmu device bound (diff) | |
| download | kernel-5492f0c4085a8fb8820ff974f17b83a7d6dab5a5.tar.gz kernel-5492f0c4085a8fb8820ff974f17b83a7d6dab5a5.zip | |
iommu/tegra241-cmdqv: Fix unused variable warning
While testing some io-pgtable changes, I ran into a compiler warning
from the Tegra CMDQ driver:
drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c:803:23: warning: unused variable 'cmdqv_debugfs_dir' [-Wunused-variable]
803 | static struct dentry *cmdqv_debugfs_dir;
| ^~~~~~~~~~~~~~~~~
1 warning generated.
Guard the variable declaration with CONFIG_IOMMU_DEBUGFS to silence the
warning.
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
