Skip to content

Commit

Permalink
docs: accel: Fix debugfs path
Browse files Browse the repository at this point in the history
The device specific directory in debugfs does not have "accel".  For
example, the documentation says device 0 should have a debugfs entry as
/sys/kernel/debug/accel/accel0/ but in reality the entry is
/sys/kernel/debug/accel/0/

Fix the documentation to match the implementation.

Fixes: 8c5577a ("doc: add documentation for accel subsystem")
Signed-off-by: Jeffrey Hugo <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
quic-jhugo authored and Jonathan Corbet committed Jan 24, 2023
1 parent 3abd57c commit c70313c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/accel/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The accelerator devices will be exposed to the user space with the dedicated

- device char files - /dev/accel/accel*
- sysfs - /sys/class/accel/accel*/
- debugfs - /sys/kernel/debug/accel/accel*/
- debugfs - /sys/kernel/debug/accel/*/
Getting Started
===============
Expand Down

0 comments on commit c70313c

Please sign in to comment.