[PATCH] docs/perf: Add ampere_cspmu to toctree to fix a build warning

From: Ilkka Koskinen
Date: Thu Oct 12 2023 - 03:42:27 EST


Add ampere_cspmu to toctree in order to address the following warning
produced when building documents:

Documentation/admin-guide/perf/ampere_cspmu.rst: WARNING: document isn't included in any toctree

Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Closes: https://lore.kernel.org/all/20231011172250.5a6498e5@xxxxxxxxxxxxxxxx/
Fixes: 53a810ad3c5c ("perf: arm_cspmu: ampere_cspmu: Add support for Ampere SoC PMU")
Signed-off-by: Ilkka Koskinen <ilkka@xxxxxxxxxxxxxxxxxxxxxx>
---
This patch fixes a bug in my cspmu patch, which is in Will Deacon's tree
(https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-next/perf).

Tested with 'make SPHINXDIRS="admin-guide" htmldocs'


Documentation/admin-guide/perf/index.rst | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/admin-guide/perf/index.rst b/Documentation/admin-guide/perf/index.rst
index f60be04e4e33..a2e6f2c81146 100644
--- a/Documentation/admin-guide/perf/index.rst
+++ b/Documentation/admin-guide/perf/index.rst
@@ -22,3 +22,4 @@ Performance monitor support
nvidia-pmu
meson-ddr-pmu
cxl
+ ampere_cspmu
--
2.40.1