From 3053a46e6f2f9077260c6f5df8290d59a765fc4b Mon Sep 17 00:00:00 2001 From: Mitchel Humpherys Date: Wed, 15 Jul 2015 18:27:36 -0700 Subject: iommu: Create iommu debugfs directory from IOMMU code Currently we're creating an "iommu" debugfs directory from the iommu-debug code. Other IOMMU modules might want to make use of this same directory, so create it from the IOMMU framework code itself. Change-Id: I679fdfc34ba5fcbd927dc5981438c6fabcfa3639 Signed-off-by: Mitchel Humpherys --- include/linux/iommu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux') diff --git a/include/linux/iommu.h b/include/linux/iommu.h index a0edc7c93f0a..4c7d91992e7c 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -101,6 +101,8 @@ enum iommu_attr { DOMAIN_ATTR_MAX, }; +extern struct dentry *iommu_debugfs_top; + #ifdef CONFIG_IOMMU_API /** -- cgit v1.2.3