summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/phy-mv-usb.h
diff options
context:
space:
mode:
authorChao Xie <chao.xie@marvell.com>2013-03-25 03:06:53 -0400
committerFelipe Balbi <balbi@ti.com>2013-04-02 11:42:45 +0300
commitdf18fedae5f7870529a0a79193e24e67f56d995e (patch)
tree2d7cbf7c44c05784ecb223530567fcc50efe2ab2 /drivers/usb/phy/phy-mv-usb.h
parent1919811fe635de4689b4f31a20da3d50196cf43f (diff)
usb: otg: mv_otg: remove unused clock
The origianl understanding of clock is wrong. The OTG 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/phy/phy-mv-usb.h')
-rw-r--r--drivers/usb/phy/phy-mv-usb.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/phy/phy-mv-usb.h b/drivers/usb/phy/phy-mv-usb.h
index 8a9e351b36b..551da6eb0ba 100644
--- a/drivers/usb/phy/phy-mv-usb.h
+++ b/drivers/usb/phy/phy-mv-usb.h
@@ -158,8 +158,7 @@ struct mv_otg {
unsigned int active;
unsigned int clock_gating;
- unsigned int clknum;
- struct clk *clk[0];
+ struct clk *clk;
};
#endif