Commit 3066fa91 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

USB kerneldoc fixes

This fixes some kerneldoc bugs for USB.  It catches up with
the recent rename, and includes a couple minor tweaks/fixes
I happened to notice.
parent f74682cf
...@@ -104,8 +104,8 @@ APISOURCES := $(TOPDIR)/drivers/media/video/videodev.c \ ...@@ -104,8 +104,8 @@ APISOURCES := $(TOPDIR)/drivers/media/video/videodev.c \
$(TOPDIR)/sound/sound_firmware.c \ $(TOPDIR)/sound/sound_firmware.c \
$(TOPDIR)/drivers/net/wan/syncppp.c \ $(TOPDIR)/drivers/net/wan/syncppp.c \
$(TOPDIR)/drivers/net/wan/z85230.c \ $(TOPDIR)/drivers/net/wan/z85230.c \
$(TOPDIR)/drivers/usb/hcd.c \ $(TOPDIR)/drivers/usb/core/hcd.c \
$(TOPDIR)/drivers/usb/usb.c \ $(TOPDIR)/drivers/usb/core/usb.c \
$(TOPDIR)/drivers/video/fbmem.c \ $(TOPDIR)/drivers/video/fbmem.c \
$(TOPDIR)/drivers/video/fbcmap.c \ $(TOPDIR)/drivers/video/fbcmap.c \
$(TOPDIR)/drivers/video/fbcon.c \ $(TOPDIR)/drivers/video/fbcon.c \
......
...@@ -282,7 +282,7 @@ ...@@ -282,7 +282,7 @@
</sect1> </sect1>
<sect1><title>USB Core APIs</title> <sect1><title>USB Core APIs</title>
!Edrivers/usb/usb.c !Edrivers/usb/core/usb.c
</sect1> </sect1>
<sect1><title>Host Controller APIs</title> <sect1><title>Host Controller APIs</title>
...@@ -290,7 +290,7 @@ ...@@ -290,7 +290,7 @@
most of which implement standard register interfaces such as most of which implement standard register interfaces such as
EHCI, OHCI, or UHCI. EHCI, OHCI, or UHCI.
</para> </para>
!Edrivers/usb/hcd.c !Edrivers/usb/core/hcd.c
</sect1> </sect1>
</chapter> </chapter>
......
...@@ -471,8 +471,10 @@ struct usb_device_id { ...@@ -471,8 +471,10 @@ struct usb_device_id {
/** /**
* struct usb_driver - identifies USB driver to usbcore * struct usb_driver - identifies USB driver to usbcore
* @owner: pointer to the module owner of this driver * @owner: Pointer to the module owner of this driver; initialize
* @name: The driver name should be unique among USB drivers * it using THIS_MODULE.
* @name: The driver name should be unique among USB drivers,
* and should normally be the same as the module name.
* @probe: Called to see if the driver is willing to manage a particular * @probe: Called to see if the driver is willing to manage a particular
* interface on a device. The probe routine returns a handle that * interface on a device. The probe routine returns a handle that
* will later be provided to disconnect(), or a null pointer to * will later be provided to disconnect(), or a null pointer to
...@@ -507,7 +509,7 @@ struct usb_device_id { ...@@ -507,7 +509,7 @@ struct usb_device_id {
* is used by both user and kernel mode hotplugging support. * is used by both user and kernel mode hotplugging support.
* *
* The probe() and disconnect() methods are called in a context where * The probe() and disconnect() methods are called in a context where
* they can sleep, but they should avoid abusing the privilage. Most * they can sleep, but they should avoid abusing the privilege. Most
* work to connect to a device should be done when the device is opened, * work to connect to a device should be done when the device is opened,
* and undone at the last close. The disconnect code needs to address * and undone at the last close. The disconnect code needs to address
* concurrency issues with respect to open() and close() methods, as * concurrency issues with respect to open() and close() methods, as
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment