]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: define struct clk_gate2 on our own
authorShawn Guo <shawn.guo@freescale.com>
Fri, 18 Apr 2014 07:55:16 +0000 (15:55 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Mon, 12 May 2014 14:58:48 +0000 (22:58 +0800)
commit30dde5042425b27789e4b75dfda9614c9424e6dd
tree38d9e794424934f9ca173fb03f65692d904cd2d9
parentf317df5edaf3a599afd1dcac3256d6e12a85b7cf
ARM: imx: define struct clk_gate2 on our own

The imx clk-gate2 driver implements an i.MX specific gate clock, which
has two bits controlling the gate states.  While this is a completely
separate gate driver from the common clk-gate one, it reuses the common
clk_gate structure.  Such reusing makes the extending of clk_gate2
clumsy.  Let's define struct clk_gate2 on our own to make the driver
independent of the common clk-gate one, and ease the clk_gate2 extending
at a later time.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/clk-gate2.c