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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:28 +0000 (14:50 +0100)
commitaf3b9fd41d93146410dc6d5f5542a32b15b7f039
treecc99acb67db01d77319c6eec240c8550bf7ee100
parent85e9904df1fcc4f0847d28f225f8936a9a31dbf2
iommu: Fix IOMMU debugfs fallout

[ Upstream commit 18b3af4492a0aa6046b86d712f6ba4cbb66100fb ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/iommu-debugfs.c