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

Message ID 20231012074103.3772114-1-ilkka@os.amperecomputing.com
State New
Headers
Series docs/perf: Add ampere_cspmu to toctree to fix a build warning |

Commit Message

Ilkka Koskinen Oct. 12, 2023, 7:41 a.m. UTC
  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@canb.auug.org.au>
Closes: https://lore.kernel.org/all/20231011172250.5a6498e5@canb.auug.org.au/
Fixes: 53a810ad3c5c ("perf: arm_cspmu: ampere_cspmu: Add support for Ampere SoC PMU")
Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
---
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(+)
  

Comments

Will Deacon Oct. 12, 2023, 6:06 p.m. UTC | #1
On Thu, 12 Oct 2023 00:41:03 -0700, Ilkka Koskinen wrote:
> 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
> 
> 

Applied to will (for-next/perf), thanks!

[1/1] docs/perf: Add ampere_cspmu to toctree to fix a build warning
      https://git.kernel.org/will/c/0abe7f61c28d

Cheers,
  

Patch

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