aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2005-09-23 01:45:26 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 19:47:41 -0400
commit5edbfb7c8af0577097dae87cdd4dfdba82bb9579 (patch)
tree497ba94999eb10524dd0d6d98ba708e83cae75d8 /include
parentccdcf77ae32e3d3347fdf3810b27f899e98c34fb (diff)
[PATCH] stop exporting two functions
The way we're looking at USB suspend lately doesn't expect drivers to call usb_suspend_device() or usb_resume_device() directly; that'll be implicit when no interfaces are in use. This patch removes those APIs from visibility outside usbcore. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> drivers/usb/core/hub.c | 12 ++++-------- drivers/usb/core/usb.h | 4 ++++ include/linux/usb.h | 5 ----- 3 files changed, 8 insertions(+), 13 deletions(-)
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 25ec91ddcd04..207b1ad9d990 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -975,11 +975,6 @@ extern int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe,
975 void *data, int len, int *actual_length, 975 void *data, int len, int *actual_length,
976 int timeout); 976 int timeout);
977 977
978/* selective suspend/resume */
979extern int usb_suspend_device(struct usb_device *dev);
980extern int usb_resume_device(struct usb_device *dev);
981
982
983/* wrappers around usb_control_msg() for the most common standard requests */ 978/* wrappers around usb_control_msg() for the most common standard requests */
984extern int usb_get_descriptor(struct usb_device *dev, unsigned char desctype, 979extern int usb_get_descriptor(struct usb_device *dev, unsigned char desctype,
985 unsigned char descindex, void *buf, int size); 980 unsigned char descindex, void *buf, int size);