]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 30 Apr 2014 05:40:29 +0000 (13:40 +0800)
commit9a9ebc985cfeed9405a810a7b064229dc80e05d4
tree7270c939a4f944ba76d95ff981d349b6690a3146
parentca05ff32219f5e002823270e0b4c12bb74b60e8d
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