diff options
Diffstat (limited to 'drivers/usb/core/endpoint.c')
-rw-r--r-- | drivers/usb/core/endpoint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/core/endpoint.c b/drivers/usb/core/endpoint.c index fdfaa7885515..d26b9ea981f9 100644 --- a/drivers/usb/core/endpoint.c +++ b/drivers/usb/core/endpoint.c | |||
@@ -186,6 +186,7 @@ int usb_create_ep_devs(struct device *parent, | |||
186 | ep_dev->dev.parent = parent; | 186 | ep_dev->dev.parent = parent; |
187 | ep_dev->dev.release = ep_device_release; | 187 | ep_dev->dev.release = ep_device_release; |
188 | dev_set_name(&ep_dev->dev, "ep_%02x", endpoint->desc.bEndpointAddress); | 188 | dev_set_name(&ep_dev->dev, "ep_%02x", endpoint->desc.bEndpointAddress); |
189 | device_enable_async_suspend(&ep_dev->dev); | ||
189 | 190 | ||
190 | retval = device_register(&ep_dev->dev); | 191 | retval = device_register(&ep_dev->dev); |
191 | if (retval) | 192 | if (retval) |