diff options
-rw-r--r-- | drivers/usb/core/generic.c | 4 | ||||
-rw-r--r-- | drivers/usb/core/hub.c | 2 | ||||
-rw-r--r-- | drivers/usb/core/usb.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/core/generic.c b/drivers/usb/core/generic.c index 7b9e1ec718d2..9148b69785c5 100644 --- a/drivers/usb/core/generic.c +++ b/drivers/usb/core/generic.c | |||
@@ -40,7 +40,7 @@ static int is_activesync(struct usb_interface_descriptor *desc) | |||
40 | && desc->bInterfaceProtocol == 1; | 40 | && desc->bInterfaceProtocol == 1; |
41 | } | 41 | } |
42 | 42 | ||
43 | int choose_configuration(struct usb_device *udev) | 43 | int usb_choose_configuration(struct usb_device *udev) |
44 | { | 44 | { |
45 | int i; | 45 | int i; |
46 | int num_configs; | 46 | int num_configs; |
@@ -164,7 +164,7 @@ static int generic_probe(struct usb_device *udev) | |||
164 | if (udev->authorized == 0) | 164 | if (udev->authorized == 0) |
165 | dev_err(&udev->dev, "Device is not authorized for usage\n"); | 165 | dev_err(&udev->dev, "Device is not authorized for usage\n"); |
166 | else { | 166 | else { |
167 | c = choose_configuration(udev); | 167 | c = usb_choose_configuration(udev); |
168 | if (c >= 0) { | 168 | if (c >= 0) { |
169 | err = usb_set_configuration(udev, c); | 169 | err = usb_set_configuration(udev, c); |
170 | if (err) { | 170 | if (err) { |
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index f725d9e62b5b..4c495c4d5053 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -1460,7 +1460,7 @@ int usb_authorize_device(struct usb_device *usb_dev) | |||
1460 | /* Choose and set the configuration. This registers the interfaces | 1460 | /* Choose and set the configuration. This registers the interfaces |
1461 | * with the driver core and lets interface drivers bind to them. | 1461 | * with the driver core and lets interface drivers bind to them. |
1462 | */ | 1462 | */ |
1463 | c = choose_configuration(usb_dev); | 1463 | c = usb_choose_configuration(usb_dev); |
1464 | if (c >= 0) { | 1464 | if (c >= 0) { |
1465 | result = usb_set_configuration(usb_dev, c); | 1465 | result = usb_set_configuration(usb_dev, c); |
1466 | if (result) { | 1466 | if (result) { |
diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h index e22ec7f8eb15..c52626c51f70 100644 --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h | |||
@@ -23,7 +23,7 @@ extern int usb_get_device_descriptor(struct usb_device *dev, | |||
23 | unsigned int size); | 23 | unsigned int size); |
24 | extern char *usb_cache_string(struct usb_device *udev, int index); | 24 | extern char *usb_cache_string(struct usb_device *udev, int index); |
25 | extern int usb_set_configuration(struct usb_device *dev, int configuration); | 25 | extern int usb_set_configuration(struct usb_device *dev, int configuration); |
26 | extern int choose_configuration(struct usb_device *udev); | 26 | extern int usb_choose_configuration(struct usb_device *udev); |
27 | 27 | ||
28 | extern void usb_kick_khubd(struct usb_device *dev); | 28 | extern void usb_kick_khubd(struct usb_device *dev); |
29 | extern int usb_match_device(struct usb_device *dev, | 29 | extern int usb_match_device(struct usb_device *dev, |