aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/at91_udc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/at91_udc.c')
-rw-r--r--drivers/usb/gadget/at91_udc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c
index 1a4430f315c3..c9e66dfb02e6 100644
--- a/drivers/usb/gadget/at91_udc.c
+++ b/drivers/usb/gadget/at91_udc.c
@@ -1634,6 +1634,7 @@ static int at91_start(struct usb_gadget *gadget,
1634 udc = container_of(gadget, struct at91_udc, gadget); 1634 udc = container_of(gadget, struct at91_udc, gadget);
1635 udc->driver = driver; 1635 udc->driver = driver;
1636 udc->gadget.dev.driver = &driver->driver; 1636 udc->gadget.dev.driver = &driver->driver;
1637 udc->gadget.dev.of_node = udc->pdev->dev.of_node;
1637 dev_set_drvdata(&udc->gadget.dev, &driver->driver); 1638 dev_set_drvdata(&udc->gadget.dev, &driver->driver);
1638 udc->enabled = 1; 1639 udc->enabled = 1;
1639 udc->selfpowered = 1; 1640 udc->selfpowered = 1;