diff options
author | Alexandre Pereira da Silva <aletes.xgr@gmail.com> | 2012-06-26 11:27:10 -0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-07-02 10:38:01 +0300 |
commit | 7d7b22928b900bcb0f8885a95846e5125a757e76 (patch) | |
tree | 3b06de2e31c22ab9936317bf87d27ba72227076c /drivers/usb | |
parent | eebc0d368f2ecbe34860b74e28c29069707d2057 (diff) | |
download | blackbird-op-linux-7d7b22928b900bcb0f8885a95846e5125a757e76.tar.gz blackbird-op-linux-7d7b22928b900bcb0f8885a95846e5125a757e76.zip |
usb: gadget: s3c-hsotg: Propagate devicetree to gadget drivers
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/s3c-hsotg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c index 75a28e6d3761..b13e0bb5f5b8 100644 --- 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; |