projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48a31af
)
usb: gadget: lpc32xx_udc: Propagate devicetree to gadget drivers
author
Alexandre Pereira da Silva
<aletes.xgr@gmail.com>
Tue, 26 Jun 2012 14:27:09 +0000
(11:27 -0300)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 2 Jul 2012 07:37:57 +0000
(10:37 +0300)
Fill dev.of_node of gadget drivers, so they can use devicetree
Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/lpc32xx_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/lpc32xx_udc.c
b/drivers/usb/gadget/lpc32xx_udc.c
index
d227d93
..
8424947
100644
(file)
--- a/
drivers/usb/gadget/lpc32xx_udc.c
+++ b/
drivers/usb/gadget/lpc32xx_udc.c
@@
-3005,6
+3005,7
@@
static int lpc32xx_start(struct usb_gadget_driver *driver,
udc->driver = driver;
udc->gadget.dev.driver = &driver->driver;
+ udc->gadget.dev.of_node = udc->dev->of_node;
udc->enabled = 1;
udc->selfpowered = 1;
udc->vbus = 0;