projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eebc0d3
)
usb: gadget: s3c-hsotg: Propagate devicetree to gadget drivers
author
Alexandre Pereira da Silva
<aletes.xgr@gmail.com>
Tue, 26 Jun 2012 14:27:10 +0000
(11:27 -0300)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 2 Jul 2012 07:38:01 +0000
(10:38 +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/s3c-hsotg.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/s3c-hsotg.c
b/drivers/usb/gadget/s3c-hsotg.c
index
75a28e6
..
b13e0bb
100644
(file)
--- a/
drivers/usb/gadget/s3c-hsotg.c
+++ b/
drivers/usb/gadget/s3c-hsotg.c
@@
-2953,6
+2953,7
@@
static int s3c_hsotg_udc_start(struct usb_gadget *gadget,
driver->driver.bus = NULL;
hsotg->driver = driver;
hsotg->gadget.dev.driver = &driver->driver;
+ hsotg->gadget.dev.of_node = hsotg->dev->of_node;
hsotg->gadget.dev.dma_mask = hsotg->dev->dma_mask;
hsotg->gadget.speed = USB_SPEED_UNKNOWN;