diff options
author | Chao Xie <chao.xie@marvell.com> | 2013-03-25 08:06:52 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-04-02 10:42:45 +0200 |
commit | 1919811fe635de4689b4f31a20da3d50196cf43f (patch) | |
tree | 032f7ee8829b55395b029e05350f84c938a1d974 /drivers/usb/gadget/mv_udc.h | |
parent | usb: musb: gadget: use platform callback to enable vbus (diff) | |
download | linux-1919811fe635de4689b4f31a20da3d50196cf43f.tar.xz linux-1919811fe635de4689b4f31a20da3d50196cf43f.zip |
usb: gadget: mv_udc_core: remove unused clock
The origianl understanding of clock is wrong. The UDC controller
only have one clock input.
Passing clock name by pdata is wrong. The clock is defined by device
iteself.
Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/mv_udc.h')
-rw-r--r-- | drivers/usb/gadget/mv_udc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/gadget/mv_udc.h b/drivers/usb/gadget/mv_udc.h index 9073436d8b24..be77f207dbaf 100644 --- a/drivers/usb/gadget/mv_udc.h +++ b/drivers/usb/gadget/mv_udc.h @@ -222,8 +222,7 @@ struct mv_udc { struct mv_usb_platform_data *pdata; /* some SOC has mutiple clock sources for USB*/ - unsigned int clknum; - struct clk *clk[0]; + struct clk *clk; }; /* endpoint data structure */ |