mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 01:10:54 +07:00
docs: devices.rst: fix a C reference markup
The C domain parser of Sphinx3 expects just function names for :c:func: markups: ./Documentation/driver-api/pm/devices.rst:413: WARNING: Unparseable C cross-reference: 'device_may_wakeup(dev)' Invalid C declaration: Expected end of definition. [error at 17] device_may_wakeup(dev) -----------------^ Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
11604da248
commit
2f27ed7568
@ -410,7 +410,7 @@ On many platforms they will gate off one or more clock sources; sometimes they
|
||||
will also switch off power supplies or reduce voltages. [Drivers supporting
|
||||
runtime PM may already have performed some or all of these steps.]
|
||||
|
||||
If :c:func:`device_may_wakeup(dev)` returns ``true``, the device should be
|
||||
If :c:func:`device_may_wakeup()` returns ``true``, the device should be
|
||||
prepared for generating hardware wakeup signals to trigger a system wakeup event
|
||||
when the system is in the sleep state. For example, :c:func:`enable_irq_wake()`
|
||||
might identify GPIO signals hooked up to a switch or other external hardware,
|
||||
|
Loading…
Reference in New Issue
Block a user