diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-20 16:58:50 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-24 09:01:48 +0100 |
commit | 5080e9c981473cd3e5d1571ff8d6dc39ba2777b1 (patch) | |
tree | b8f074bed556a44544b2fb168d5b6d3d57c7e605 /arch/arm/mach-mxs | |
parent | 34d80730c30fa37740cb43bb0eec62352df3a7c6 (diff) | |
download | op-kernel-dev-5080e9c981473cd3e5d1571ff8d6dc39ba2777b1.zip op-kernel-dev-5080e9c981473cd3e5d1571ff8d6dc39ba2777b1.tar.gz |
ARM i.MX23/28: remove secondary field from struct clk. It's unused
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r-- | arch/arm/mach-mxs/clock.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mxs/include/mach/clock.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-mxs/clock.c b/arch/arm/mach-mxs/clock.c index e7d2269..a7093c8 100644 --- a/arch/arm/mach-mxs/clock.c +++ b/arch/arm/mach-mxs/clock.c @@ -57,7 +57,6 @@ static void __clk_disable(struct clk *clk) if (clk->disable) clk->disable(clk); __clk_disable(clk->parent); - __clk_disable(clk->secondary); } } @@ -68,7 +67,6 @@ static int __clk_enable(struct clk *clk) if (clk->usecount++ == 0) { __clk_enable(clk->parent); - __clk_enable(clk->secondary); if (clk->enable) clk->enable(clk); diff --git a/arch/arm/mach-mxs/include/mach/clock.h b/arch/arm/mach-mxs/include/mach/clock.h index 041e276..592c9ab 100644 --- a/arch/arm/mach-mxs/include/mach/clock.h +++ b/arch/arm/mach-mxs/include/mach/clock.h @@ -29,8 +29,6 @@ struct clk { int id; /* Source clock this clk depends on */ struct clk *parent; - /* Secondary clock to enable/disable with this clock */ - struct clk *secondary; /* Reference count of clock enable/disable */ __s8 usecount; /* Register bit position for clock's enable/disable control. */ |