Skip to content

Commit

Permalink
USB: fixes kerneldoc errors in usbcore-auto(susp/res)-patch
Browse files Browse the repository at this point in the history
Fixes kerneldoc errors on usb/core/driver.c, which occured in 2.6.18-rc6-mm2
gregkh-usb-usbcore-add-autosuspend-autoresume-infrastructure.patch

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Henrik Kretzschmar authored and Greg Kroah-Hartman committed Sep 28, 2006
1 parent 931e24b commit 701f35a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/usb/core/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1103,8 +1103,8 @@ int usb_resume_both(struct usb_device *udev)

/**
* usb_autosuspend_device - delayed autosuspend of a USB device and its interfaces
* @udev - the usb_device to autosuspend
* @dec_usage_cnt - flag to decrement @udev's PM-usage counter
* @udev: the usb_device to autosuspend
* @dec_usage_cnt: flag to decrement @udev's PM-usage counter
*
* This routine should be called when a core subsystem is finished using
* @udev and wants to allow it to autosuspend. Examples would be when
Expand Down Expand Up @@ -1140,8 +1140,8 @@ void usb_autosuspend_device(struct usb_device *udev, int dec_usage_cnt)

/**
* usb_autoresume_device - immediately autoresume a USB device and its interfaces
* @udev - the usb_device to autoresume
* @inc_usage_cnt - flag to increment @udev's PM-usage counter
* @udev: the usb_device to autoresume
* @inc_usage_cnt: flag to increment @udev's PM-usage counter
*
* This routine should be called when a core subsystem wants to use @udev
* and needs to guarantee that it is not suspended. In addition, the
Expand Down Expand Up @@ -1181,7 +1181,7 @@ int usb_autoresume_device(struct usb_device *udev, int inc_usage_cnt)

/**
* usb_autopm_put_interface - decrement a USB interface's PM-usage counter
* @intf - the usb_interface whose counter should be decremented
* @intf: the usb_interface whose counter should be decremented
*
* This routine should be called by an interface driver when it is
* finished using @intf and wants to allow it to autosuspend. A typical
Expand Down Expand Up @@ -1228,7 +1228,7 @@ EXPORT_SYMBOL_GPL(usb_autopm_put_interface);

/**
* usb_autopm_get_interface - increment a USB interface's PM-usage counter
* @intf - the usb_interface whose counter should be incremented
* @intf: the usb_interface whose counter should be incremented
*
* This routine should be called by an interface driver when it wants to
* use @intf and needs to guarantee that it is not suspended. In addition,
Expand Down

0 comments on commit 701f35a

Please sign in to comment.