diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-02-20 15:26:21 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2017-02-21 00:40:42 +0100 |
commit | e3941cd9f59d1d5508c29eb1712a732722885ee7 (patch) | |
tree | 1cfb162d4b3a5b0835b37e8603572464006b4f23 /Documentation/driver-api/index.rst | |
parent | Add a target to check broken external links in the Documentation (diff) | |
download | linux-e3941cd9f59d1d5508c29eb1712a732722885ee7.tar.xz linux-e3941cd9f59d1d5508c29eb1712a732722885ee7.zip |
PM / docs: Fix structure references in device.rst
There is a better way to represent structure references than it was
done in device.rst by commit 730c4c053012 (PM / sleep / docs: Convert
PM notifiers document to reST), which is to use "struct name" as a
link caption (e.g. :c:type:`struct device <device>`). That will
cause sphinx to generate a proper reference to the data type in
question (struct device in the example above) and "struct name"
will work as the link in the HTML output.
Fix device.rst by using that convention where applicable.
Fixes: 730c4c053012 (PM / sleep / docs: Convert PM notifiers document to reST)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/driver-api/index.rst')
0 files changed, 0 insertions, 0 deletions