OSDN Git Service

iommu: Fix IOMMU debugfs fallout
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 20 Feb 2019 13:05:05 +0000 (14:05 +0100)
committerJoerg Roedel <jroedel@suse.de>
Tue, 26 Feb 2019 10:15:58 +0000 (11:15 +0100)
commit18b3af4492a0aa6046b86d712f6ba4cbb66100fb
tree5a3b161a9bd69b7348858e1dfa6b1f1e45513ece
parenta7055d572c51338bed8673331ead6759cae6b70b
iommu: Fix IOMMU debugfs fallout

A change made in the final version of IOMMU debugfs support replaced the
public function iommu_debugfs_new_driver_dir() by the public dentry
iommu_debugfs_dir in <linux/iommu.h>, but forgot to update both the
implementation in iommu-debugfs.c, and the patch description.

Fix this by exporting iommu_debugfs_dir, and removing the reference to
and implementation of iommu_debugfs_new_driver_dir().

Fixes: bad614b24293ae46 ("iommu: Enable debugfs exposure of IOMMU driver internals")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu-debugfs.c