Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs-rst: fix usb cross-references

As some USB documentation files got moved, adjust their
cross-references to their new place.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
e1c3e6e1 0cb30062

+15 -9
+1 -1
Documentation/ABI/stable/sysfs-bus-usb
··· 9 9 hubs this facility is always enabled and their device 10 10 directories will not contain this file. 11 11 12 - For more information, see Documentation/usb/persist.txt. 12 + For more information, see Documentation/driver-api/usb/persist.rst. 13 13 14 14 What: /sys/bus/usb/devices/.../power/autosuspend 15 15 Date: March 2007
+2
Documentation/driver-api/usb/URB.rst
··· 1 + .. _usb-urb: 2 + 1 3 USB Request Block (URB) 2 4 ~~~~~~~~~~~~~~~~~~~~~~~ 3 5
+2 -2
Documentation/driver-api/usb/callbacks.rst
··· 8 8 structure and through the completion handler of URBs a driver submits. 9 9 Only the former are in the scope of this document. These two kinds of 10 10 callbacks are completely independent of each other. Information on the 11 - completion callback can be found in Documentation/usb/URB.txt. 11 + completion callback can be found in :ref:`usb-urb`. 12 12 13 13 The callbacks defined in the driver structure are: 14 14 ··· 53 53 54 54 The ioctl interface (2) should be used only if you have a very good 55 55 reason. Sysfs is preferred these days. The PM callbacks are covered 56 - separately in Documentation/usb/power-management.txt. 56 + separately in :ref:`usb-power-management`. 57 57 58 58 Calling conventions 59 59 ===================
+2
Documentation/driver-api/usb/error-codes.rst
··· 1 + .. _usb-error-codes: 2 + 1 3 USB Error codes 2 4 ~~~~~~~~~~~~~~~ 3 5
+2
Documentation/driver-api/usb/persist.rst
··· 1 + .. _usb-persist: 2 + 1 3 USB device persistence during system suspend 2 4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 5
+1 -1
Documentation/driver-api/usb/power-management.rst
··· 328 328 using the USB Persist facility.) 329 329 330 330 The ``reset_resume`` method is used by the USB Persist facility (see 331 - ``Documentation/usb/persist.txt``) and it can also be used under certain 331 + :ref:`usb-persist`) and it can also be used under certain 332 332 circumstances when ``CONFIG_USB_PERSIST`` is not enabled. Currently, if a 333 333 device is reset during a resume and the driver does not have a 334 334 ``reset_resume`` method, the driver won't receive any notification about
+2 -2
Documentation/driver-api/usb/usb.rst
··· 424 424 Unless noted otherwise, the ioctl requests described here will update 425 425 the modification time on the usbfs file to which they are applied 426 426 (unless they fail). A return of zero indicates success; otherwise, a 427 - standard USB error code is returned. (These are documented in 428 - ``Documentation/usb/error-codes.txt`` in your kernel sources.) 427 + standard USB error code is returned (These are documented in 428 + :ref:`usb-error-codes`). 429 429 430 430 Each of these files multiplexes access to several I/O streams, one per 431 431 endpoint. Each device has one control endpoint (endpoint zero) which
+1 -1
Documentation/power/swsusp.txt
··· 406 406 before suspending; then remount them after resuming. 407 407 408 408 There is a work-around for this problem. For more information, see 409 - Documentation/usb/persist.txt. 409 + Documentation/driver-api/usb/persist.rst. 410 410 411 411 Q: Can I suspend-to-disk using a swap partition under LVM? 412 412
+1 -1
drivers/staging/most/hdm-usb/hdm_usb.c
··· 490 490 * disconnect. In the interval before the hub driver starts disconnect 491 491 * processing, devices may receive such fault reports for every request. 492 492 * 493 - * See <https://www.kernel.org/doc/Documentation/usb/error-codes.txt> 493 + * See <https://www.kernel.org/doc/Documentation/driver-api/usb/error-codes.rst> 494 494 */ 495 495 static void hdm_read_completion(struct urb *urb) 496 496 {
+1 -1
drivers/usb/core/Kconfig
··· 26 26 unplugged, causing any mounted filesystems to be lost. The 27 27 persist feature can still be enabled for individual devices 28 28 through the power/persist sysfs node. See 29 - Documentation/usb/persist.txt for more info. 29 + Documentation/driver-api/usb/persist.rst for more info. 30 30 31 31 If you have any questions about this, say Y here, only say N 32 32 if you know exactly what you are doing.