diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/message.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c index 7135e542679d..2f6009b0cffc 100644 --- a/drivers/usb/core/message.c +++ b/drivers/usb/core/message.c | |||
@@ -631,8 +631,8 @@ int usb_get_descriptor(struct usb_device *dev, unsigned char type, unsigned char | |||
631 | * Returns the number of bytes received on success, or else the status code | 631 | * Returns the number of bytes received on success, or else the status code |
632 | * returned by the underlying usb_control_msg() call. | 632 | * returned by the underlying usb_control_msg() call. |
633 | */ | 633 | */ |
634 | int usb_get_string(struct usb_device *dev, unsigned short langid, | 634 | static int usb_get_string(struct usb_device *dev, unsigned short langid, |
635 | unsigned char index, void *buf, int size) | 635 | unsigned char index, void *buf, int size) |
636 | { | 636 | { |
637 | int i; | 637 | int i; |
638 | int result; | 638 | int result; |
@@ -1488,7 +1488,6 @@ EXPORT_SYMBOL(usb_sg_wait); | |||
1488 | // synchronous control message convenience routines | 1488 | // synchronous control message convenience routines |
1489 | EXPORT_SYMBOL(usb_get_descriptor); | 1489 | EXPORT_SYMBOL(usb_get_descriptor); |
1490 | EXPORT_SYMBOL(usb_get_status); | 1490 | EXPORT_SYMBOL(usb_get_status); |
1491 | EXPORT_SYMBOL(usb_get_string); | ||
1492 | EXPORT_SYMBOL(usb_string); | 1491 | EXPORT_SYMBOL(usb_string); |
1493 | 1492 | ||
1494 | // synchronous calls that also maintain usbcore state | 1493 | // synchronous calls that also maintain usbcore state |