diff options
author | Ming Lei <tom.leiming@gmail.com> | 2008-06-14 21:42:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 18:16:32 -0400 |
commit | 625f694936cbbdee98e6cc65f72724a7660e7946 (patch) | |
tree | a802abcee5ef4d1e24409a615af8c97843f639e5 /include | |
parent | 33578bd706e40eb877bd87bfc47e5da30034afde (diff) |
USB: remove interface parameter of usb_reset_composite_device
From the current implementation of usb_reset_composite_device
function, the iface parameter is no longer useful. This function
doesn't do something special for the iface usb_interface,compared
with other interfaces in the usb_device. So remove the parameter
and fix the related caller.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index 8429d08bd2fd..c74cc64bddc8 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -497,8 +497,7 @@ extern int usb_lock_device_for_reset(struct usb_device *udev, | |||
497 | 497 | ||
498 | /* USB port reset for device reinitialization */ | 498 | /* USB port reset for device reinitialization */ |
499 | extern int usb_reset_device(struct usb_device *dev); | 499 | extern int usb_reset_device(struct usb_device *dev); |
500 | extern int usb_reset_composite_device(struct usb_device *dev, | 500 | extern int usb_reset_composite_device(struct usb_device *dev); |
501 | struct usb_interface *iface); | ||
502 | 501 | ||
503 | extern struct usb_device *usb_find_device(u16 vendor_id, u16 product_id); | 502 | extern struct usb_device *usb_find_device(u16 vendor_id, u16 product_id); |
504 | 503 | ||