summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/phy-mv-usb.h
diff options
context:
space:
mode:
authorChao Xie <chao.xie@marvell.com>2013-03-25 08:06:53 +0100
committerFelipe Balbi <balbi@ti.com>2013-04-02 10:42:45 +0200
commitdf18fedae5f7870529a0a79193e24e67f56d995e (patch)
tree2d7cbf7c44c05784ecb223530567fcc50efe2ab2 /drivers/usb/phy/phy-mv-usb.h
parentusb: gadget: mv_udc_core: remove unused clock (diff)
downloadlinux-df18fedae5f7870529a0a79193e24e67f56d995e.tar.xz
linux-df18fedae5f7870529a0a79193e24e67f56d995e.zip
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 '')
-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 8a9e351b36ba..551da6eb0ba8 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