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

[PATCH] USB: usb_new_device() shouldn't be exported

Minor cleanup.  This call no longer needs exporting for root hubs,
they have their own API to use instead.
parent 9f4d3246
No related merge requests found
...@@ -991,8 +991,8 @@ int usb_set_address(struct usb_device *dev) ...@@ -991,8 +991,8 @@ int usb_set_address(struct usb_device *dev)
* *
* This call is synchronous, and may not be used in an interrupt context. * This call is synchronous, and may not be used in an interrupt context.
* *
* Only hub drivers (including virtual root hub drivers for host * Only the hub driver should ever call this; root hub registration
* controllers) should ever call this. * uses it only indirectly.
*/ */
#define NEW_DEVICE_RETRYS 2 #define NEW_DEVICE_RETRYS 2
#define SET_ADDRESS_RETRYS 2 #define SET_ADDRESS_RETRYS 2
...@@ -1509,7 +1509,6 @@ EXPORT_SYMBOL(usb_match_id); ...@@ -1509,7 +1509,6 @@ EXPORT_SYMBOL(usb_match_id);
EXPORT_SYMBOL(usb_find_interface); EXPORT_SYMBOL(usb_find_interface);
EXPORT_SYMBOL(usb_ifnum_to_if); EXPORT_SYMBOL(usb_ifnum_to_if);
EXPORT_SYMBOL(usb_new_device);
EXPORT_SYMBOL(usb_reset_device); EXPORT_SYMBOL(usb_reset_device);
EXPORT_SYMBOL(usb_disconnect); EXPORT_SYMBOL(usb_disconnect);
......
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