diff options
author | Chao Xie <chao.xie@marvell.com> | 2013-03-25 03:06:52 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-04-02 11:42:45 +0300 |
commit | 1919811fe635de4689b4f31a20da3d50196cf43f (patch) | |
tree | 032f7ee8829b55395b029e05350f84c938a1d974 /drivers/usb/gadget/mv_udc.h | |
parent | b65ae0f1a7b98c370967cf161ee87011e3ecdd77 (diff) |
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 */ |