summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMitchel Humpherys <mitchelh@codeaurora.org>2015-07-15 18:27:36 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:13:39 -0700
commit3053a46e6f2f9077260c6f5df8290d59a765fc4b (patch)
tree1147acac0c3e106ef1b8b0da0f0631378a09861e /include/linux
parent13ae3bcaca0fc47f4709b72cdba50ac3eed80198 (diff)
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 <mitchelh@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/iommu.h2
1 files changed, 2 insertions, 0 deletions
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
/**